A simple full-stack Task Tracker built using Next.js App Router and MongoDB.
Users can create, view, update, and delete tasks through clean UI screens and RESTful API endpoints provided by Next.js.
This project demonstrates how to build a full-stack CRUD application with:
- Next.js (App Router)
- Server Components
- API Routes
- MongoDB + Mongoose
- TypeScript
The goal is to give a clear understanding of how the frontend and backend work together inside a single Next.js project.
| Route | Description |
|---|---|
/ |
Home page showing all tasks |
/tasks/[id] |
View a single task |
/add |
add a new task |
Fetch all tasks
Add a new task
Fetch a single task by it's id
Update task status
Delete a task from the list
git clone https://github.com/your-username/task-tracker.git cd task-tracker
npm install
MONGODB_URL=your-mongodb-connection-string
npm run dev