Skip to content

Fueled/code-assignment-node-task-management-api

Repository files navigation

Task Management API - Take-Home Assignment

Description of your take-home assignment can be found in TASK_DESCRIPTION.md.

Quick Start

  1. Install dependencies:
npm install
  1. Start Docker containers:
docker-compose up -d
  1. Run database migrations:
npm run prisma:generate
npm run prisma:migrate
  1. Seed the database:
npm run seed
  1. Start the application:
npm run start:dev

The API will be available at http://localhost:3000

Available Endpoints

  • GET /tasks - List all tasks with filters
  • GET /tasks/:id - Get a single task
  • POST /tasks - Create a new task
  • PUT /tasks/:id - Update a task
  • DELETE /tasks/:id - Delete a task
  • GET /projects - List all projects
  • GET /users - List all users

Task Filters

The GET /tasks endpoint supports the following query parameters:

  • status: TODO, IN_PROGRESS, COMPLETED, CANCELLED
  • priority: LOW, MEDIUM, HIGH, URGENT
  • assigneeId: UUID of the assignee
  • projectId: UUID of the project
  • dueDateFrom: ISO date string
  • dueDateTo: ISO date string

Example: GET /tasks?status=TODO&priority=HIGH

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published