A backend API that serves a NFT marketplace web app
- NestJS
- Postgres
- Redis
- Subgraph
- Clone the repo
$ npm install
- Make sure to have Postgres and Redis installed
- Copy
.env.example
to.env
then set the port - Setup database credential in
.env
- Install packages:
npm install
oryarn install
- Migrate the database:
npm run migrate:run
oryarn migrate:run
- Run the app:
npm run stat:dev
oryarn start:dev
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov