$ yarn install$ yarn seed$ yarn jobs:run# production
$ yarn start
# watch mode
$ yarn start:devThe API documentation will be available at the URL:
/api-docsYou can download the API specification as a JSON file on the following URL:
/api-docs-jsonYou 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}`);