Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theoomoregbee/authguard
Example repo for guarding routes post
https://github.com/theoomoregbee/authguard
angular angular-cli angular2 angular4 angular5 angular6 guard navigation router
Last synced: 24 days ago
JSON representation
Example repo for guarding routes post
- Host: GitHub
- URL: https://github.com/theoomoregbee/authguard
- Owner: theoomoregbee
- Created: 2018-08-03T06:23:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-03T06:33:24.000Z (over 6 years ago)
- Last Synced: 2024-10-03T12:24:19.766Z (about 1 month ago)
- Topics: angular, angular-cli, angular2, angular4, angular5, angular6, guard, navigation, router
- Language: TypeScript
- Homepage: https://codeburst.io/using-angular-route-guard-for-securing-routes-eabf5b86b4d1
- Size: 420 KB
- Stars: 42
- Watchers: 3
- Forks: 32
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AuthGuard
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 6.0.1.
## Screenshot
![](screenshot/authGuard.gif)## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).