Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/endykaufman/nest-permissions-seed
A simple application demonstrating the basic usage of permissions with NestJS.
https://github.com/endykaufman/nest-permissions-seed
contenttypes groups heroku jwt nestjs passwordhash permissions swagger typedoc users
Last synced: 17 days ago
JSON representation
A simple application demonstrating the basic usage of permissions with NestJS.
- Host: GitHub
- URL: https://github.com/endykaufman/nest-permissions-seed
- Owner: EndyKaufman
- Created: 2017-12-27T09:49:15.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-04-27T01:10:58.000Z (over 4 years ago)
- Last Synced: 2024-10-11T14:19:25.036Z (about 1 month ago)
- Topics: contenttypes, groups, heroku, jwt, nestjs, passwordhash, permissions, swagger, typedoc, users
- Language: TypeScript
- Homepage: https://nest-permissions-seed.herokuapp.com/
- Size: 3.5 MB
- Stars: 152
- Watchers: 4
- Forks: 13
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## nest-permissions-seed
[![Greenkeeper badge](https://badges.greenkeeper.io/EndyKaufman/nest-permissions-seed.svg)](https://greenkeeper.io/)
[![Build Status][travis-image]][travis-url]
[![dependencies-release][dependencies-image]][dependencies-url]A simple application demonstrating the basic usage of permissions with [NestJS](https://nestjs.com).
**Current repository no longer supported, all changes are in the new repository https://github.com/rucken/core-nestjs**
## Usage
- clone or fork [repository](https://github.com/EndyKaufman/nest-permissions-seed.git) `git clone --recursive https://github.com/EndyKaufman/nest-permissions-seed.git`
- make sure you have [node.js](https://nodejs.org/) 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`](http://localhost:3000)## Demo application on [Heroku](https://nest-permissions-seed.herokuapp.com)
### Users
- user with admin group: [email protected], password: 12345678
- user with user group: [email protected], password: 12345678
- user with user group: [email protected], password: 12345678### Swagger
- local: http://localhost:3000/swagger
- online: https://nest-permissions-seed.herokuapp.com/swagger- apiKey template: ```JWT ```
## License
MIT
[travis-image]: https://travis-ci.org/EndyKaufman/nest-permissions-seed.svg?branch=master
[travis-url]: https://travis-ci.org/EndyKaufman/nest-permissions-seed
[dependencies-image]: https://david-dm.org/EndyKaufman/nest-permissions-seed/status.svg
[dependencies-url]: https://david-dm.org/EndyKaufman/nest-permissions-seed