Skip to content

Small POC for a GraphQL service made with NestJS

Notifications You must be signed in to change notification settings

Pkingo/graphql-nest

Repository files navigation

GraphQL NestJS POC Project 🚀

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

After the app is running, visit https://localhost:3000/graphql to try out the GraphQl playground

Docker

A docker container with mongo is used for local development

# Build a mongo docker container and name it 'mongo'
sudo build -t mongo mongo:latest
# Run mongo container and open the port 27017, which mongo uses
sudo docker run -p 27017:27017 mongo

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

Small POC for a GraphQL service made with NestJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published