A REST API for managing tasks and team responsibilities.
See the Project Overview for the project's purpose, scenario, and system summary.
See all Postman and Swagger UI screenshots.
- Node.js
v24.10.0or a newer release in the24.xseries npm- Docker and Docker Compose (optional; only needed to run with Docker)
git clone https://github.com/Asim-Tahir/taskflow.gitgit clone git@github.com:Asim-Tahir/taskflow.gitgh repo clone Asim-Tahir/taskflowcd taskflownpm installcp .env.example .envcp .env.development.example .env.developmentcp .env.test.example .env.testcp .env.production.example .env.productionnpm run devBy 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 startCompose requires both .env and .env.development:
cp .env.example .envcp .env.development.example .env.developmentdocker compose up --build -dWith the server running, check the health endpoint:
curl -H "Accept: application/json" http://localhost:3000/api/v1/healthRun the tests with
npm testTasks 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.







