MERN Blog is a full-stack blogging web application for managing blog posts.
- Fully-responsive webiste
- User authentication and authorization (which means users can login, register and logout to and from the platform, they can only delete their own posts)
- Users can write a blog post with markdown text and insert image, video in their posts
- Users can delete their own posts
- Logged-in users can save any post
- Logged-in users can create comments on any blogpost and can delete their own comments
- Admin user can delete posts and comments
- Search and filter blogposts
- Increase number of visits for posts as they are being visited
- Admin user can mark certain posts as featured
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js and npm
node -v
npm -v
- Clerk account
- Imagekit account
- Copy
.env.example
file and rename it.env
, then, add necessary variables - Clone the repository
git clone https://github.com/rawdaymohamed/mern-blog
cd mern-blog
- Run the backend
cd backend
npm i
npm run dev
- Run the frontend
cd frontend
npm i
npm run dev
- Go to
http://localhost:3000