- Git - Download & Install Git.
- Node.js - Download & Install Node.js and the npm package manager.
git clone {repository URL}
npm ci
Install docker and docker-compose using the instruction https://docs.docker.com/get-docker/
Run command:
docker-compose up
After application running open new terminal and enter:
To run all tests without authorization
npm run test:auth
Metrics | Express | Fastify |
---|---|---|
vusers.created_by_name.Test CRUD /users | 3000 | 3000 |
http.requests | 6950 | 6737 |
http.codes.401 | 3000 | 3000 |
http.responses | 4027 | 3803 |
http.codes.200 | 767 | 585 |
http.codes.201 | 106 | 88 |
vusers.failed | 2923 | 2935 |
http.codes.500 | 77 | 65 |
http.codes.204 | 77 | 65 |
vusers.completed | 77 | 65 |
-
User
(/users
route)GET /users
- get all usersGET /users/:userId
- get the user by id (ex. “/users/123”)POST /users
- create userPUT /users/:userId
- update userDELETE /users/:userId
- delete user
-
Board
(/boards
route)GET /boards
- get all boardsGET /boards/:boardId
- get the board by idPOST /boards
- create boardPUT /boards/:boardId
- update boardDELETE /boards/:boardId
- delete board
-
Task
(boards/:boardId/tasks
route)GET /boards/:boardId/tasks
- get all tasksGET /boards/:boardId/tasks/:taskId
- get the task by idPOST /boards/:boardId/tasks
- create taskPUT /boards/:boardId/tasks/:taskId
- update taskDELETE /boards/:boardId/tasks/:taskId
- delete task
-
Column
(boards/:boardId/columns
route)GET /columns
- get all columnsGET /columns/:columnsId
- get the column by idPOST /columns/:columnsId
- create columnPUT /columns/:columnsId
- update columnDELETE /columns/:columnsId
- delete column
-
File
(boards/:boardId/tasks
route)GET file/:filename/
- download filePOST file/
- upload filemultipart/form-data