$ npm install
- Fill out
.env.example
and rename to.env
- Create credentials
src/creds/nftc-dev-firebase-creds.json
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
- Follow the response schema displayed below
- Example:
getCollectionHistoricalStats
located instats.service.ts
{
data: <ARRAY OF ITEMS>,
cursor: <BASE 64 ENCODED CURSOR>, // cursor should be used to get the next page (not including the previous last item)
hasNextPage: <BOOLEAN> // indicates if there is another page to get
}