A modern, full-stack blog application built with Next.js, featuring a powerful admin panel and email subscription system.
- Dynamic Blog Posts with categories and rich content
- Admin Panel for content management
- Email Subscriptions with newsletter system
- Image Upload with Cloudinary integration
- Responsive Design for all devices
Frontend: Next.js 15, React 19, Tailwind CSS
Backend: Next.js API Routes, MongoDB, Mongoose
Services: Cloudinary (images), React Hot Toast (notifications)
# Clone and install
git clone https://github.com/yourusername/stack-post.git
cd stack-post
npm install
# Set environment variables
# Create .env.local with MongoDB and Cloudinary credentials
# Run development server
npm run dev
Open http://localhost:3000 to view the app.
Posts: GET|POST /api/post
, GET|PUT|DELETE /api/post/[id]
Email: POST /api/email
(subscribe), GET /api/email
(admin)
Deploy on Vercel: Connect GitHub repo, add environment variables, deploy automatically.