Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 785 Bytes

readme.md

File metadata and controls

46 lines (37 loc) · 785 Bytes

Installation

$ yarn install

Seeding Data

$ yarn seed

Running the Scheduler

$ yarn jobs:run

Running the application server

# production
$ yarn start

# watch mode
$ yarn start:dev

API Documentation

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

Postman Test Script

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}`);