Skip to content
Asim-TahirPublic

About

Managing tasks and team responsibilities

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

155 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Taskflow logo

Taskflow

A REST API for managing tasks and team responsibilities.

See the Project Overview for the project's purpose, scenario, and system summary.

Screenshots

Create task using Postman screenshot Create a task using Postman. List and filter tasks using Postman screenshot List and filter tasks using Postman.
View task by ID using Postman screenshot View a task by ID using Postman. Update task using Postman screenshot Update a task using Postman.
Partially update task using Postman screenshot Partially update a task using Postman. Delete task using Postman screenshot Delete a task using Postman.
Search tasks by title or description using Postman screenshot Search tasks by title or description using Postman. Assign task using Postman screenshot Assign a task using Postman.

See all Postman and Swagger UI screenshots.

Requirements

  • Node.js v24.10.0 or a newer release in the 24.x series
  • npm
  • Docker and Docker Compose (optional; only needed to run with Docker)

Setup

Clone the repository using one of these methods:

HTTPS

git clone https://github.com/Asim-Tahir/taskflow.git

SSH

git clone git@github.com:Asim-Tahir/taskflow.git

GitHub CLI

gh repo clone Asim-Tahir/taskflow

Change to the project directory:

cd taskflow

Install dependencies

npm install

For environment variables that load each environment (test, dev, prod)

cp .env.example .env

For environment variables that load only for development environment

cp .env.development.example .env.development

For environment variables that load only for test environment (e2e, unit)

cp .env.test.example .env.test

For environment variables that load only for production environment

cp .env.production.example .env.production

Start the development server

npm run dev

By default, the server listens at http://localhost:3000. The API base path is /api/v1. Open Swagger UI at http://localhost:3000/swagger. For local runs, set PORT in .env.development to use a different port in development.

To run without automatically restarting when files change:

npm start

Run with Docker Compose

Compose requires both .env and .env.development:

cp .env.example .env
cp .env.development.example .env.development
docker compose up --build -d

Testing

Health check

With the server running, check the health endpoint:

curl -H "Accept: application/json" http://localhost:3000/api/v1/health

Automated tests

Run the tests with

npm test

Data and API documentation

Tasks are loaded from src/data/tasks.json. Changes made through the API are written back to this file and persist when the server restarts.

View the OpenAPI JSON at http://localhost:3000/openapi.json.

View Swagger UI at http://localhost:3000/swagger.

About

Managing tasks and team responsibilities

Resources

Stars

1 star

Watchers

0 watching

Forks

Used by

Contributors

Languages