- Git - Download & Install Git.
- Node.js - Download & Install Node.js and the npm package manager.
$user: git clone {repository URL}
$user: cd kanban-rest
Install docker and docker-compose using the instruction https://docs.docker.com/get-docker/
Run command:
$user: docker-compose up
Run command:
$user: git clone {repository URL}
$user: cd kanban-rest
$user: git switch source
$user: heroku create --region eu
$user: heroku addons:create heroku-postgresql:hobby-dev
$user: heroku config:set NPM_CONFIG_PRODUCTION=false
$user: heroku config:set LOG_CONSOLE=false
$user: heroku config:set LOG_ERR_LEVEL=warn
$user: heroku config:set LOG_INFO_LEVEL=info
$user: heroku config:set JWT_SECRET_KEY=secret-key
$user: heroku config:set SALT_SIZE=10
$user: heroku config:set USE_FASTIFY=true
$user: heroku git:remote -a <YOUR_APP_NAME>
$user: git push heroku source:master
-
Swagger Docs
(/docs
route) -
Auth
(/
route)POST /signup
- new user registrationPOST /signin
- user authorization
-
User
(/
route)GET /users
- get all usersGET /users/:userId
- get the user by id (ex. “/users/123”)PUT /users/:userId
- update userDELETE /users/:userId
- delete user
-
Board
(/boards
route)GET /
- get all boardsGET /:boardId
- get the board by idPOST /
- create boardPUT /:boardId
- update boardDELETE /:boardId
- delete board
-
Column
(boards/:boardId/columns
route)GET /
- get all columnsGET /:columnsId
- get the column by idPOST /:columnsId
- create columnPUT /:columnsId
- update columnDELETE /:columnsId
- delete column
-
Task
(boards/:boardId/columns/:columnsId
route)GET /tasks
- get all tasksGET /tasks/:taskId
- get the task by idPOST /tasks
- create taskPUT /tasks/:taskId
- update taskDELETE /tasks/:taskId
- delete task
-
File
:GET file/:taskId/:filename/
- download filePOST file/
- upload filemultipart/form-data
-
Logs files
:GET logs/error
- download 'error' log fileGET logs/info
- download 'info' log file