A full-stack Task Manager web application where users can register, log in using a username, and manage their daily tasks. The app supports creating, editing, marking as complete, and deleting tasks. Completed and recent tasks are displayed in separate sections.
- React.js
- Tailwind CSS
- React Router DOM
- Node.js
- Express.js
- MongoDB (via Mongoose)
- π User Registration & Login (using just a username or full name)
- β Add Task with a title and description
- β Mark Task as Complete
- ποΈ Edit Tasks
- ποΈ Delete Tasks
- π Recent Tasks and Completed Tasks are shown separately
- π§ Smart task form updates for editing (no popups)
task-manager/
βββ client/ # React frontend
β βββ pages/ # Pages like Login, Register, and TaskDashboard
β βββ components/ # Reusable UI components (e.g., Task Card)
β βββ hooks/ # Custom React hooks (loginHook, registerHook, taskHook)
β βββ App.jsx # Main React App component
β
βββ server/ # Node.js + Express backend
β βββ controllers/ # Request handlers for user and task operations
β βββ models/ # Mongoose schemas (User, Task)
β βββ routes/ # Route definitions for API endpoints
β βββ app.js # Express app configuration
β βββ server.js # Entry point to start the server
β
βββ .env # Environment variables (e.g., MONGO_URI, PORT)
βββ README.md # Project documentation
βββ package.json # Project dependencies and scripts