nest-permissions-seed icon indicating copy to clipboard operation
nest-permissions-seed copied to clipboard

A simple application demonstrating the basic usage of permissions with NestJS.

nest-permissions-seed

Greenkeeper badge Build Status dependencies-release

A simple application demonstrating the basic usage of permissions with NestJS.

Current repository no longer supported, all changes are in the new repository https://github.com/rucken/core-nestjs

Usage

  • clone or fork repository git clone --recursive https://github.com/EndyKaufman/nest-permissions-seed.git
  • make sure you have node.js installed version 6+
  • make sure you have NPM installed version 3+
  • run npm install to install project dependencies
  • copy _env to .env and set environments for use
  • run npm run schema:sync to create all tables in database
  • run npm run migrate:run to run all migrations
  • run npm run start:prod to fire up prod server (npm run start:watch - dev server)
  • Open browser to http://localhost:3000

Demo application on Heroku

Users

Swagger

  • local: http://localhost:3000/swagger

  • online: https://nest-permissions-seed.herokuapp.com/swagger

  • apiKey template: JWT <token_generated_on_login>

License

MIT