A simple Task Manager built with React (Frontend) and Node.js/Express (Backend). This app allows users to add, delete, and mark tasks as completed.
- 📝 Add Tasks
- ✅ Mark Tasks as Complete (Strike-through effect)
- 🛡️ Delete Tasks
- 📱 REST API Integration
- 🌙 Dark Mode Support
- ⚡ React.js
- 🎨 Tailwind CSS
- 🔗 Axios (for API calls)
- 🔵 Node.js
- 🚀 Express.js
- 📄 MongoDB (via Mongoose)
git clone https://github.com/72897/task-manager.git
cd task-managercd client
npm installcd server
npm installCreate a .env file in the server directory and add:
PORT=5000
MONGO_URI="mongodb+srv://kunal2674:Kunal1234@cluster0.lsrfc.mongodb.net/task-manager"
cd server
npm startcd client
npm start| Method | Endpoint | Description |
|---|---|---|
| GET | /api/tasks |
Fetch all tasks |
| POST | /api/tasks |
Create a new task |
| PUT | /api/tasks/:id |
Toggle task completion |
| DELETE | /api/tasks/:id |
Delete a task |
- Push frontend code to GitHub.
- Connect GitHub to Vercel.
- Deploy with default settings.
- Push backend code to GitHub.
- Deploy on Render or Railway.app.
- Use MongoDB Atlas for database.
- 🏛️ Add Task Categories
- 🗓️ Add Due Dates
- 📊 Task Analytics Dashboard
Kunal Singh
🚀 LinkedIn | 💻 GitHub
This project is licensed under the MIT License.