To try the authenticated endpoints first login with the user: email: '[email protected]', password: 'pass', Then paste the "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpX..." at authentication header Bearer Token.
- if you haven't already: copy
.env.example
to.env
at the project folder level.
$ cd ./docker/project
# Db and application will start, at mac the first time it takes some time due to the copy of the volumes.
$ docker-compose up
After running it you can find the Swagger documentation at: http://localhost:3000/docs#/
- if you haven't already: copy
.env.example
to.env
at the project folder level.
$ cd ./docker/test-db
# The Db for testing proposes will start.
$ docker-compose up
# To return to the project folder.
$ cd ../../project
# To run the test.
$ yarn test
- Author - Daniel Hernández
- LinkedIn - LinkedIn