Files
p0tion/packages/api
2024-08-01 17:41:59 -05:00
..
2024-08-01 17:41:59 -05:00
2024-05-16 13:29:36 -05:00
2024-04-20 13:44:03 -05:00
2024-04-23 11:00:45 -05:00
2024-04-20 13:44:03 -05:00
2024-04-20 13:44:03 -05:00
2024-04-22 13:22:35 -05:00
2024-04-20 13:44:03 -05:00
2024-04-20 13:44:03 -05:00

Description

A backend server that host all p0tion functionalities to coordinate a ceremony. Built with Nest framework.

Installation

$ yarn install

Running the app

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

Test

# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov

Add new modules

If you don't have the Nest CLI installed and you don't want to install it globally, you can use the following command to create a new module:

$ npx @nestjs/cli@latest generate module users

$ npx @nestjs/cli@latest generate controller /users/controller/users --flat

$ npx @nestjs/cli@latest generate service /users/service/users --flat

$ npx @nestjs/cli@latest generate class /users/dto/usersDto --flat