A modern, animated Todo application built with Vite, React, TypeScript, Material-UI, and MongoDB.
- ✨ Beautiful animations using Framer Motion
- 🎨 Modern UI with Material UI
- 🔄 Add, edit, delete, and mark todos as completed
- 💾 MongoDB integration for data persistence
- 🚀 Fast development with Vite
- Node.js (v14+)
- MongoDB (local instance or MongoDB Atlas)
- Clone the repository
- Install dependencies:
npm install - Create a
.envfile in the root directory with the following variables:(Adjust the MongoDB URI as needed)PORT=5000 MONGODB_URI=mongodb://localhost:27017/todo-app
To run both the frontend and backend concurrently:
npm run start
To run only the frontend:
npm run dev
To run only the backend:
npm run server
Build the frontend:
npm run build
Then start the server:
npm run server
/src- Frontend React application/components- React components/services- API services
/server- Backend Express server/models- MongoDB models/routes- API routes
- Vite
- React
- TypeScript
- Material UI
- Framer Motion (for animations)
- Express
- MongoDB & Mongoose