Skip to content

TechnotronicOz/wisely-nest-api

Repository files navigation

Wisely Test API

Take home project, built by Matt Carter stands up both a Graphql API

Build

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

About

Nest, Graphql, Postgres reservation API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages