Backend playground built with Nest.js and GraphQL.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
# Login to Heroku
$ heroku login
# Create local git
$ git init
# Connect local project to existing Heroku project
$ heroku git:remote -a <heroku-app-name>
# Stage files
$ git add .
# Commit changes
$ git commit -m "Deploying on heroku"
# Push changes to Heroku, trigger deploy
$ git push heroku master
$ heroku config:set PORT=8080
$ heroku config:set NODE_ENV=production
$ heroku config:set NPM_CONFIG_PRODUCTION=false
This project is licensed under MIT licensed.