A full-stack Task Management Web Application built using Node.js, Express.js, HTML, CSS, and JavaScript. The application allows users to securely create, update, delete, and track tasks with real-time updates and responsive design.
- User Registration & Login
- Authentication & Authorization
- Secure Signed Tokens
- Password Hashing using PBKDF2
- CRUD Operations for Tasks
- Per-user Task Protection
- Real-time Updates using Server-Sent Events (SSE)
- Responsive Desktop & Mobile UI
- Local JSON Database Persistence
- Node.js
- Express.js
- HTML
- CSS
- JavaScript
Task Manager Project/
│
├── data/
│ └── db.json
│
├── public/
│ ├── index.html
│ ├── app.js
│ └── styles.css
│
├── .env
├── .gitignore
├── package.json
├── package-lock.json
├── README.md
└── server.js
Clone the repository:
git clone https://github.com/yourusername/task-management-application.gitGo to the project folder:
cd task-management-applicationInstall dependencies:
npm installCreate a .env file in the root folder:
JWT_SECRET=your_secret_key_herenpm startOpen:
http://localhost:3000
POST /api/auth/registerPOST /api/auth/login
GET /api/me
GET /api/tasksPOST /api/tasksPUT /api/tasks/:idDELETE /api/tasks/:id
GET /api/tasks/stream
- Learned Full-stack Application Structure
- Learned API Integration
- Learned Dynamic Data Handling
- Implemented Secure Authentication Workflow
- Built Responsive Frontend and Backend Integration
Before deploying to production, set a secure token secret:
JWT_SECRET=replace-with-a-long-random-secretAdd .env to .gitignore:
node_modules
.env
data/db.jsonAshwin S