This is my first official Full-Stack MERN application
- Create: Add new tasks with titles and descriptions
- Read: Real-time fetching of tasks from MongoDB
- Update: Toggle completion status with visual feedback
- Delete: Permanently remove tasks from the database
| Layer | Technology |
|---|---|
| Frontend | React.js (Vite) |
| Backend | Node.js & Express |
| Database | MongoDB |
| Validation | Zod |
| Styling | Custom CSS-in-JS |
Follow these steps to run the project locally.
Download the ZIP and extract it
cd backend
npm install
node index.js
cd frontend
npm install
npm run dev
| Method | Endpoint | Description |
|---|---|---|
| GET | /allTodo | Fetch all todos from database |
| POST | /newTodo | Create a new todo |
| PUT | /completed | Mark a todo as completed |
| DELETE | /delete | Delete a specific todo |
Aditya Madan