Hxb-graphql
Hxb-graphql build by Nest and graphql. You can reseach about this in Docs
Installation
- Please install nodejs version 12 or higher. Install Yarn.
- After clone repository must run
- Coppy file .env to .env.example . And change value for right project
$ yarn
Build the app
$ yarn build
Running the app
# development and watch mode
$ yarn start
# production mode
$ yarn start:prod
Go to https://domain/graphql
. Example: If domain start localhost:8082
you must go to http://localhost:8082/graphql
to UI graphql.
Test
# unit tests
$ yarn test
# e2e tests
$ yarn test:e2e
# test coverage
$ yarn test:cov
Required
Before push to branch . Must run
$ yarn format