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
- 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 installto install project dependencies - copy
_envto.envand set environments for use - run
npm run schema:syncto create all tables in database - run
npm run migrate:runto run all migrations - run
npm run start:prodto fire up prod server (npm run start:watch- dev server) - Open browser to
http://localhost:3000
Demo application on Heroku
- user with admin group: [email protected], password: 12345678
- user with user group: [email protected], password: 12345678
- user with user group: [email protected], password: 12345678
-
apiKey template:
JWT <token_generated_on_login>
MIT