Todo Application is a Full Stack Todo Management App built using Next.js, TypeScript, Prisma, and MongoDB. This application allows users to create, update, and delete tasks.
- CRUD Operations: Create, read, update, and delete tasks.
- TypeScript: Provides type safety and better code quality.
- Database Integration: Uses MongoDB for data storage with Prisma ORM.
- Next.js App Router: Utilizes the latest Next.js routing capabilities.
- Frontend: Next.js, TypeScript
- Backend: Prisma, MongoDB
- Routing: Next.js App Router
- Node.js (>= 16.x)
- MongoDB instance
-
Clone the repository:
git clone https://github.com/NamanSoni18/Todo-app-nextjs.git
-
Navigate to the project directory and install dependencies:
cd todo-app-nextjs npm install
-
Create a
.env
file in the root directory and add your MongoDB URI:DATABASE_URL="your_db_url"
-
Run Prisma migrations to set up the database schema:
npx prisma migrate dev
-
Start the development server:
npm run dev
-
Open your browser and navigate to:
http://localhost:3000
Feel free to fork this repository and submit pull requests. For major changes, please open an issue first to discuss what you would like to change.