Skip to content

An Angular 4 and ngrx based basic application, with Oauth 2.0 authentication

License

Notifications You must be signed in to change notification settings

alessandrov/ngrx-poc

Repository files navigation

A basic dashboard application, a POC leveraging ngrx, based on Angular 4, Bootstrap 4, with Oauth 2 authentication.

The user can login and perform crud operations over a list of paths and goals belonging to each path.

Data are retrieved from a RESTful backend and presented to the user.

Demo

Auth module

Responsible for authenticating the user, refreshing the access token behind the lines, clearing the Store.

Path and Goal modules

Each path is made of goals. User can navigate and perform CRUD operations over both.

Core module

Just two components here, not-found and navigation bar.

Prerequisites

Make sure you have Node.js installed (at least 6.10.0) and that the backend is up and running.

Install the dependencies

Navigate to the project folder and run:

npm i

Run the application

Development mode

Navigate to the project folder and run:

ng serve

the application is available at localhost:4200. Being the live-reload option true by default the page is reloaded if the application files change.

Production mode

Navigate to the project folder and run:

npm start

a dist folder is built with AOT compilation and the application is available at localhost:8180

Login

You'll be able to login with one of the following credentials:

username: user1
password: password1

Postman collection included.

Author

alessandrov

License

GPL-3.0

About

An Angular 4 and ngrx based basic application, with Oauth 2.0 authentication

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published