Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nartc/nartc-nx
Angular + NestJS Auth Example using Permission Based Authentication
https://github.com/nartc/nartc-nx
Last synced: 8 days ago
JSON representation
Angular + NestJS Auth Example using Permission Based Authentication
- Host: GitHub
- URL: https://github.com/nartc/nartc-nx
- Owner: nartc
- Created: 2019-11-25T02:08:02.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-27T19:54:22.000Z (about 5 years ago)
- Last Synced: 2024-10-12T15:08:01.097Z (2 months ago)
- Language: TypeScript
- Size: 207 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## NX Angular + NestJS Auth Example with Permission Based
### Angular
Awaiting `Angular 9`
### NestJS (WIP)
1. Run `yarn ng serve api` to start the server on port `3001`
2. `SwaggerUI` runs on `localhost:3001/docs`
3. Make sure to have a local `mongod` instance running
4. Make sure to create the following role to test things out at `Swagger -> Role -> POST /roles`:```json
{
"isGlobal": false,
"parentId": "string",
"roleName": "Standard User",
"notes": "This is a standard user",
"permissions": {
"user": 1,
"role": 0
}
}
```5. Create a User