Skip to content

full-stack blog application using the MERN stack, allowing users to create, edit, delete (own) posts, comment, and save posts, with admin privileges for managing all content. Integrated Clerk for secure authentication & authorization, TanStack Query for optimized data fetching, and ImageKit.io for fast image uploads

Notifications You must be signed in to change notification settings

kranthi-77/Blog-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

39 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

✍️ Full-Stack Blog Platform A powerful and modern full-stack blogging platform built using the MERN stack, featuring full CRUD capabilities, post scheduling, image upload with CDN, commenting, and role-based admin moderation. Built for scalability, speed, and clean user experience.

πŸš€ Features πŸ“ Full Blog CRUD – Create, read, update, delete posts with rich text support.

πŸ•’ Post Scheduling – Schedule posts to auto-publish at a later time using cron jobs.

πŸ’¬ Commenting System – Users can comment and interact on blog posts.

πŸ” RBAC & Auth – Secure sign-in/sign-up with Clerk, supporting role-based access control.

πŸ“¦ Image Optimization – Upload and serve cover images via ImageKit.io CDN.

⚑ Efficient Data Fetching – Integrated TanStack Query for performance and caching.

🌐 SEO-Friendly Routing – Clean URLs and custom rewrites using Vercel.

πŸ“± Responsive UI – Built with React Router, Tailwind CSS, and ReactQuill for rich editing.

🧰 Tech Stack Frontend: React.js, React Router, Tailwind CSS, ReactQuill, TanStack Query, Clerk Authentication, Vite

Backend: Node.js, Express.js, MongoDB (Mongoose), RESTful APIs, Cron Jobs (for scheduled publishing), ImageKit.io – Image CDN

Vercel – Frontend deployment

Vercel – Backend deployment (choose your platform)

πŸ“¦ Installation Prerequisites Node.js β‰₯ 18

MongoDB instance (local or cloud like MongoDB Atlas)

Clerk account

ImageKit.io account

Setup bash Copy Edit

Clone the repo

git clone https://github.com/your-username/blog-platform.git cd blog-platform

Install frontend and backend dependencies

cd frontend && npm install cd ../backend && npm install

Set environment variables

cp .env.example .env

Fill in MongoDB URI, Clerk keys, ImageKit keys, etc.

Start the servers

Backend

cd backend && npm run dev

Frontend

cd ../frontend && npm run dev πŸ› οΈ Deployment Frontend: Deploy via Vercel

Backend: Deploy on Render, Railway, or AWS EC2

Images: Serve via ImageKit.io

πŸ“Έ Screenshots Add UI screenshots of homepage, post editor, admin dashboard, comments section, etc.

About

full-stack blog application using the MERN stack, allowing users to create, edit, delete (own) posts, comment, and save posts, with admin privileges for managing all content. Integrated Clerk for secure authentication & authorization, TanStack Query for optimized data fetching, and ImageKit.io for fast image uploads

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages