A full-stack Task Management application where users can register, log in, and manage their tasks with filtering, search, pagination, and status tracking.
| Layer | Technologies |
|---|---|
| Frontend | React (Vite), TypeScript, Zustand, Tailwind CSS |
| Backend | Node.js, Express.js, TypeScript |
| Database | MongoDB (Mongoose) |
| Auth | JWT stored in HTTP-only cookies |
- User authentication with JWT + HTTP-only cookies
- Create, read, update, and delete tasks
- Mark tasks as completed or pending
- Filter by status — All / Pending / Completed
- Search tasks by title or description
- Pagination
- Dashboard with task statistics
- Responsive UI with Tailwind CSS
git clone https://github.com/michael-020/task-manager.gitcd task-managerBackend — /server/.env
PORT=3000
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_jwt_secret
NODE_ENV=developmentFrontend — /client/.env
VITE_API_URL=http://localhost:3000cd server
npm install
npm run devRuns on http://localhost:3000
cd client
npm install
npm run devRuns on http://localhost:5173
- Ensure MongoDB is running locally or use MongoDB Atlas.
- Frontend requests must include credentials since auth uses HTTP-only cookies.
- Update CORS and cookie settings before deploying to production.