Clone project on your local machine
$ git clone git@github.com:thimovez/service.gitMake sure you have Docker Compose installed.
docker compose up serviceRun database
make dbRun backend
make app| Method | URL Pattern | Action | Command |
|---|---|---|---|
| POST | /authorization/login | Login registered user into service | curl -i -X POST http://localhost:4000/snippet/create |
| POST | /authorization/registration | Register user into our service | curl -i -X POST http://localhost:4000/snippet/create |
| POST | /authorization/refresh | Renew refresh token when access token expired | curl -i -X POST http://localhost:4000/snippet/create |