Complete MERN stack task management app.
Run backend and frontend as described in the project instructions.
A secure and scalable full-stack task management application with:
JWT authentication
Role-based access control
CRUD operations
Form validation
Security middlewares
API documentation
Request and error logging (Winston)
This project includes a backend REST API (Node.js + Express + MongoDB) and a React frontend to interact with the system.
Node.js + Express
MongoDB + Mongoose
JWT Authentication + Bcrypt
Joi Request Validation
Winston Logger (combined.log, error.log)
Helmet, CORS, Rate Limiting, Sanitization
Swagger API Documentation
React (Vite)
Redux Toolkit
Axios (with interceptors)
TailwindCSS
Protected Routes & Auth State
- git clone https://github.com/Shivp45/FullStack_Tasks_Manager.git
- cd fullstack-tasks-app
- cd backend
- npm install
PORT=5000
MONGO_URI=your_mongodb_uri_here
JWT_SECRET=your_jwt_secret
NODE_ENV=development
npm run dev
Server running on http://localhost:5000 Connected to MongoDB
Once backend is running:
Swagger Docs → http://localhost:5000/api-docs Health Check → http://localhost:5000/api/health
Open a second terminal:
- cd frontend
- npm install
npm run dev
The frontend will start at: http://localhost:5173/
You can:
-
Register new users
-
Login
-
Create / update / delete tasks
-
Test protected routes
-
View admin-only functionality (if assigned role = admin)





