This is the backend for the Task Tracker Application, built using Node.js, Express.js, MongoDB, and Mongoose. It provides RESTful APIs to support user authentication and task management, using JWT, HTTP-only cookies, and secure validation practices.
🔗 Live API Base URL:
https://task-tracker-bgh4.onrender.com/
- 🔐 Secure User Authentication with JWT (stored in HTTP-only cookies)
- 🛡️ Rate Limiting added using
express-rate-limitto prevent brute-force login attacks - ✅ Task Management (Create, Read, Update, Delete)
- 📄 Paginated Task Retrieval
- 🧼 Input Validation with Joi
- 🧠 Modular Code Structure
- 🔒 Password Hashing using bcryptjs
- 🍪 Cookie handling via
cookie-parser - ⚙️ Configurable via
.env - 🔗 CORS-enabled for frontend integration
| Category | Tech Used |
|---|---|
| Server Runtime | Node.js |
| Framework | Express.js |
| Database | MongoDB + Mongoose ORM |
| Auth | JWT, bcryptjs, cookie-parser |
| Security | express-rate-limit |
| Validation | Joi, validator |
| Env Management | dotenv |
| Deployment Tool | Render |
git clone https://github.com/chiragaug6/Task-Tracker-Application.git
cd Task-Tracker-Application/backendnpm installPORT=3000
MONGO_URI=""
NODE_ENV=""
JWT_EXPIRY=""
JWT_SECRET=""
FRONTEND_URL=""npm run devnpm start