Scalapay API repository built with Nest Framework
- NestJS
- NodeJS
- Express
- Typescript
- TypeORM
- Jest
- Docker
- Eslint
- Prettier
- Swagger
- PostgreSQL
- nodejs 18
- postgres:14
- docker
- docker-compose
- npm
$ npm install
- Copy the file
.env.example
and make the new file.env
- Insert the values for the variables in the
.env
file
# development
$ docker-compose up
You can use database management tools like TablePlus or PgAdmin 4 to connect to your database, run SQL queries, and manage your data more easily.
Import the data dump into your PostgreSQL database
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Go to ${BaseURL}/api
to view all the API documentations
Open http://localhost:5000 to run the backend