Welcome to the Task Manager coding exercise! This project will test your ability to build a simple task management application using Next.js, demonstrating your frontend skills, API interaction, and backend understanding.
Build a task management page with the following core functionality:
- ✅ Add new tasks
- 📋 View list of existing tasks
- ❌ Delete tasks
- Create a task manager page with a form to add tasks
- Display the tasks in a vertical list
- Add delete functionality to remove each task
- Use the provided SQLite database (pre-configured)
- Use tRPC to implement the backend routes
- Routes can be public for the exercise
- Clone the repository
- Run
npm run db:push
to initialize the database locally (db.sqlite file) - Start the development server with
npm run dev
- Open your browser and navigate to
http://localhost:3000
- Start coding!
Reproduce this design

Below is some information to help you reproduce the design:
-
Background Gradient
- From: #EAE8FD (CSS class: from-purple-100)
- To: #B2F5EA (CSS class: to-teal-100)
-
Heading Text
- #805AD5 (CSS class: text-purple-600)
-
Button (Add Task)
- Background Default: #38B2AC (CSS class: bg-teal-500)
-
Icons
-
Add Task Button
- Icon: PlusCircle (from lucide-react)
- Dimensions: width: 20px, height: 20px (CSS class: w-5 h-5)
-
Delete Task Button
- Icon: Trash2 (from lucide-react)
- Dimensions: width: 20px, height: 20px (CSS class: w-5 h-5)
-
-
For other elements, try to match the design as much as possible