A full-stack web application with React frontend and Express backend.
- User Authentication with OTP verification
- Blog Management System
- Service Management
- Team Management
- Protected Dashboard
- RESTful API Integration
- Frontend: React, React Router
- Backend: Express.js, MongoDB
- Authentication: JWT
- Node.js
- MongoDB
- npm or yarn
- Clone the repository:
git clone https://github.com/pixelthemes/MERN-Blog-Project- Install Frontend Dependencies:
cd client
npm install- Install Backend Dependencies:
cd Backend
npm install- Configure Environment Variables:
- Copy the config example from
/Backend/app/config/config.js - Update MongoDB connection string and other credentials
- Start Backend Server:
cd Backend
npm start- Start Frontend Development Server:
cd client
npm run dev- POST
/api/Registration- User registration - POST
/api/VerifyOTP- OTP verification - POST
/api/UserLogout- User logout (Protected)
- POST
/api/CreateBlog- Create new blog - GET
/api/getAllBlog- Fetch all blogs - GET
/api/getBlogByID/:id- Get specific blog - PUT
/api/UpdateBlog/:id- Update blog - DELETE
/api/DeleteBlog/:id- Delete blog
- POST
/api/CreateService- Create service - GET
/api/getAllService- Fetch all services - PUT
/api/UpdateService/:id- Update service - DELETE
/api/DeleteService/:id- Delete service
- POST
/api/CreateTeam- Create team member - GET
/api/getTeam- Fetch team members - PUT
/api/UpdateTeam/:id- Update team member - DELETE
/api/deleteTeam/:id- Delete team member
This project is licensed under the MIT License - see the LICENSE file for details.
- Follow pixelthemes