A simple RESTful API for task management built with Node.js.
- Create, read, update, and delete tasks
- Mark tasks as complete/incomplete
- Search tasks by title or description
- JSON-based database storage
GET /tasks- List all tasks (with optional search parameter)POST /tasks- Create a new taskPUT /tasks/:id- Update a taskPATCH /tasks/:id/complete- Toggle task completion statusDELETE /tasks/:id- Delete a task
{
"id": "uuid",
"title": "string",
"description": "string",
"completed_at": "date | null",
"created_at": "date",
"updated_at": "date"
}- Clone the repository
- Install dependencies:
npm install
- Start the development server:
npm run dev
The server will run on port 7777.
- csv-parse: ^5.6.0
ISC