Demo video linkedIn Post : [https://www.linkedin.com/posts/mantukumar22_reactjs-nodejs-mongodb-activity-7426276822822277120-gwxW?utm_source=share&utm_medium=member_desktop&rcm=ACoAAFIMdswBwDEA1pRPXlABuyFFVX9TivGhyL0]
This is a full-stack To-Do List application built with React (Vite) for the frontend and Node.js + Express + MongoDB for the backend. The app allows users to add, update, delete, and mark tasks as completed, with data persisted in MongoDB. The app is deployed on Netlify (frontend) and Render (backend).
- Node.js
- Express.js
- MongoDB
- Mongoose
- Create Todo
- Get All Todos
- Update Todo
- Delete Todo
- Toggle Status
- Clone the repository
- Install dependencies npm install
- Create a .env file
PORT=5000 MONGO_URI=your_mongodb_connection_string
- Start the server npm run dev
GET /api/todos
POST /api/todos
PUT /api/todos/:id
DELETE /api/todos/:id
- MongoDB connection handling
- using MongoDB Atals
- Proper API structure
- Error handling
- Service-Controller-Route architecture
- Centralized error middleware