$ yarn install
$ yarn seed
$ yarn jobs:run
# production
$ yarn start
# watch mode
$ yarn start:dev
The API documentation will be available at the URL:
/api-docs
You can download the API specification as a JSON file on the following URL:
/api-docs-json
You can use the following Postman test script to set your auth token after a successful '/auth/login' API call:
const jsonData = JSON.parse(responseBody);
pm.test('Status code is 200', () => {
pm.response.to.have.status(200);
});
pm.environment.set('access_token', `Bearer ${jsonData.token}`);