Clone project on your local machine
$ git clone [email protected]:thimovez/service.git
Make sure you have Docker Compose installed.
docker compose up service
Run database
make db
Run 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 |