Wisely Test API
Take home project, built by Matt Carter stands up both a Graphql API
Start Backing Services
$ docker compose up -d
Installation
Runs on Node 12 or 14. (Note: don't forget to cd api
first!)
$ nvm use
$ npm install
Running the app
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Test
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Generating fixture data in Postgres
Uses Typeorm fixtures to insert test data into the database.
Status: currently broke :(
$ npm run seed:build