Skip to content

Latest commit

Β 

History

History
79 lines (61 loc) Β· 2.4 KB

File metadata and controls

79 lines (61 loc) Β· 2.4 KB

Stack Post πŸ“

A modern, full-stack blog application built with Next.js, featuring a powerful admin panel and email subscription system.

Stack Post Next.js React MongoDB Tailwind CSS

πŸ“Έ Screenshots

Landing Page
🏠 Landing Page
Post Page
πŸ“ Individual Post
Admin Posts
πŸ”§ Posts Management
Admin Add Post
βž• Add New Post
Admin Subscriptions
πŸ“§ Subscription Management

πŸš€ Features

  • 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

πŸ› οΈ Tech Stack

Frontend: Next.js 15, React 19, Tailwind CSS
Backend: Next.js API Routes, MongoDB, Mongoose
Services: Cloudinary (images), React Hot Toast (notifications)

πŸ“¦ Quick Start

# 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.

🌐 API Endpoints

Posts: GET|POST /api/post, GET|PUT|DELETE /api/post/[id]
Email: POST /api/email (subscribe), GET /api/email (admin)

πŸš€ Deployment

Deploy on Vercel: Connect GitHub repo, add environment variables, deploy automatically.