Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 850 Bytes

README.md

File metadata and controls

42 lines (27 loc) · 850 Bytes

@cardz/server

Description

Created from Nest framework TypeScript starter repository.

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

# production mode
$ yarn start:prod

You can access the server at http://localhost:3000 You can access the graphQL at http://localhost:3000/graphql

Test

# unit tests
$ yarn test

# e2e tests
$ yarn test:e2e

# test coverage
$ yarn test:cov

Environment variables

By default, the root project .env file will be used. You can override that by manually setting ENV_FILE variable.

You can, for example, configure the mongodb database url in it.

The environment variables full documentation can be seen in ../../.env-template.