Skip to content
This repository has been archived by the owner on Nov 23, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjun SK committed Apr 21, 2020
2 parents 52de6df + 65a7e86 commit b7aa49e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 20 deletions.
32 changes: 12 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,19 @@
# AuthApp
### Angular App to show login flow using Amplify
![Login Page](/angular.png)

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.1.0.
#### Features:
1. Enabled Custom Provider (Federated Identity)
2. Fetching user details from identity token
3. Calling a resource server to fetch message for user

## Development server
Make sure your read my complete tutorial ["Cognito Hosted UI with Amplify in Angular"](https://medium.com/@arjunsk/cognito-hosted-ui-with-amplify-in-angular-7-26c9285675c4)

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.
Also check out [Spring boot resource server](https://github.com/arjunsk/cognito-spring-resource-server)

## Code scaffolding
#### Running

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`.
1. Run `npm install` to install node modules.

## Build
2. Update the cognito credentials in main.ts

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).
3. Run `ng serve -o` to run the project.
Binary file added angular.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b7aa49e

Please sign in to comment.