Skip to content

gigadie/ngx-app-with-auth

Repository files navigation

Generic FE App - NGX - With Authentication

Angular 5.x

This app needs to be used with api nodejs-api which listens on http://localhost:8888

Dependencies

Dev Dependencies

Before you start, be sure you have the latest version of npm and Angular CLI installed on your machine

To upgrade your Angular CLI

# --> Only if you have a version which is earlier than 1.0.0-beta.28
npm uninstall -g angular-cli

# --> This always
npm uninstall -g @angular/cli
npm cache verify
npm install -g @angular/cli@latest

Then locally in your ngx-app-with-auth folder

rm -rf node_modules dist
npm install

Development server

Run npm start, which will execute underneath ng serve --disable-host-check for a dev server. Navigate to http://localhost:4200/ or the domain you added to your hosts configuration. The app will automatically reload if you change any of the source files.

Build

Run npm run build or npm run build:prod to build the project, with target development or production.

The build artifacts will be stored in the dist/ directory.

Using the :prod build will compile with AOT and build-optimizer for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published