Get your news platform running in 15 minutes!
- Go to https://supabase.com → Sign up → New project
- Name it "NewsCMS"
- Create strong password
- Wait for initialization
- In Supabase, go to SQL Editor → New Query
- Copy entire
/scripts/01-init-database.sql→ Paste → Run - Create another query
- Copy entire
/scripts/02-rls-policies.sql→ Paste → Run
- Project Settings (gear icon)
- API in left menu
- Copy:
- Project URL →
NEXT_PUBLIC_SUPABASE_URL - anon key →
NEXT_PUBLIC_SUPABASE_ANON_KEY
- Project URL →
In project root, create .env.local:
NEXT_PUBLIC_SUPABASE_URL=https://xxxxx.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
pnpm install
pnpm dev✅ Visit http://localhost:3000
- Go to http://localhost:3000/admin
- Email: admin@example.com
- Password: admin123
- Posts → Create Post
- Title: "My First Article"
- Content: "This is amazing content..."
- Category: "News"
- Status: Published
- Save Post
- Go to http://localhost:3000
- Your post appears! ✨
| Feature | Location | How To |
|---|---|---|
| Create Post | Admin → Posts → Create | Fill form → Save |
| Settings | Admin → Settings | Edit site info → Save |
| Bulk Import | Admin → Import | Paste CSV → Import |
| Trending | Admin → Trending | Refresh → Publish topics |
| Pages | Admin → Pages → Create | Create About/Contact pages |
| AdSense | Admin → Settings → AdSense | Add Client ID → Save |
Email: admin@example.com
Password: admin123
README.md- Full documentationSETUP_GUIDE.md- Detailed setup.env.example- Environment template/scripts/- Database setup
pnpm install- Check
.env.localkeys are correct - Verify Supabase project is active
- Restart dev server
- Verify email:
admin@example.com - Verify password:
admin123 - Clear browser cookies
- Check post status is "Published"
- Verify database connection
- Check browser console for errors
- Push to GitHub
- Visit https://vercel.com/new
- Select your repo
- Add
.envvariables - Click Deploy ✨
- Change admin password
- Configure site settings
- Create your first post
- Add site logo
- Set up AdSense (optional)
- Deploy to Vercel
- Check
README.mdfor detailed docs - See
SETUP_GUIDE.mdfor step-by-step - Review
PROJECT_SUMMARY.mdfor architecture
You're ready! Start creating amazing content. 🚀
Questions? Read the full docs in README.md