A simple and modern ToDo application built with Next.js and MongoDB. Create, manage, and delete your daily tasks with ease — all with a clean, full-stack architecture.
- Frontend: Next.js (React)
- Backend: API Routes (Next.js)
- Database: MongoDB (with prisma)
- Styling: Tailwind CSS
- Create new tasks
- Mark tasks as complete/incomplete
- Delete tasks
- Fully responsive UI
/
├── app/ # App Router structure
│ ├── page.tsx # Main ToDo UI
│ ├── global.css # styles of UI
├── components/type.ts # Todo model (prisma)
└── components/ # Reusable components
⚙️ Setup Instructions
# 1. Clone the repository
git clone https://github.com/yourusername/nextjs-todo-app.git
cd nextjs-todo-app
2. Install dependencies
npm install
3. Create a .env.local file
MONGODB_URI=your_mongodb_connection_string
4. Run the app
npm run dev
📜 License
MIT – Free to use, learn from, and modify.