A simple Full-Stack Task Manager App where users can create, update, delete, and mark tasks as completed. The app also supports setting due dates and priorities.
- Frontend: React.js, Tailwind CSS
- Backend: Node.js, Express.js
- Database: MongoDB
- Authentication: JSON Web Token (JWT)
✅ Add, edit, delete tasks ✅ Set task priority (Low, Medium, High) ✅ Mark tasks as completed ✅ User authentication (login with JWT) ✅ Simple UI with Tailwind CSS
git clone https://github.com/yourusername/task-manager.git
cd task-managercd backend
npm install # Install dependencies
node server.js # Start the backend server (Runs on port 5000 by default)cd frontend
npm install # Install dependencies
npm start # Start React frontend (Runs on port 3000 by default)POST /auth/login- Logs in a user and returns a JWT
GET /tasks- Fetch all tasksPOST /tasks- Create a new taskPUT /tasks/:id- Update a taskDELETE /tasks/:id- Delete a task
📂 task-manager
├── 📂 backend
│ ├── db.js # MongoDB connection
│ ├── server.js # Main Express server
│ ├── taskModel.js # Task Schema
│ ├── routes.js # Task API routes
│ ├── auth.js # Authentication logic
│ └── package.json # Backend dependencies
├── 📂 frontend
│ ├── src
│ │ ├── App.jsx # Main React file
│ │ ├── TaskList.jsx # Task list component
│ │ ├── TaskForm.jsx # Task form component
│ │ ├── api.js # API calls
│ ├── package.json # Frontend dependencies
├── README.md # Project documentation
Feel free to fork this repository and submit pull requests! 🚀
This project is open-source and available under the MIT License.