Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonanv/auth0-angularjs
Authentication with Auth0 and AngularJs
https://github.com/jonanv/auth0-angularjs
angularjs auth0 css css3 html html5 javascript
Last synced: 22 days ago
JSON representation
Authentication with Auth0 and AngularJs
- Host: GitHub
- URL: https://github.com/jonanv/auth0-angularjs
- Owner: jonanv
- Created: 2020-04-02T00:04:05.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T16:38:14.000Z (about 2 years ago)
- Last Synced: 2024-11-11T18:08:12.722Z (3 months ago)
- Topics: angularjs, auth0, css, css3, html, html5, javascript
- Language: TypeScript
- Size: 1.1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![NPM Version][npm-badge]][npm-url]
[![Node JS][node-badge]][node-url]
[![Angular JS][angular-badge]][angular-url]
[![License][license-badge]][license-url]# Install dependences
in ```auth0-angularjs/``````bash
npm install
```
or
```bash
yarn install
```***
# Auth0Angularjs
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.3.24.
## 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).
***
# Create component without -is (inline styles) and --skipTests (file of test)
```javascript
ng generate component components/navbar -is --skipTests
```
or
```javascript
ng g c components/navbar -is --skipTests
```# Create service without --skipTests (file of test) or --spec=false
```javascript
ng generate service services/auth --skipTests
```
or
```javascript
ng g s services/auth --skipTests
```# Create guard without --skipTests (file of test) or --spec=false
```javascript
ng generate guard guards/auth --skipTests
```
or
```javascript
ng g g guards/auth --skipTests
```# Server local
install global ```sudo npm i -g http-server```deploy in ```/auth0-angularjs/dist/auth0-angularjs/```
```javascript
http-server
```
or
```javascript
http-server -o
```[npm-badge]: https://img.shields.io/badge/npm-v6.13.4-brightgreen.svg
[npm-url]: https://www.npmjs.com
[node-badge]: https://img.shields.io/badge/nodejs-v10.18.1-brightgreen
[node-url]: https://nodejs.org/download/release/v10.18.1/
[angular-badge]: https://img.shields.io/badge/angular--CLI-v8.3.24-brightgreen
[angular-url]: https://angular.io/cli/
[license-badge]: https://img.shields.io/badge/license-MIT-green.svg
[license-url]: https://opensource.org/licenses/MIT