This app needs to be used with api nodejs-api which listens on http://localhost:8888
- angular (5.x)
- bootstrap (4.x)
- spinkit (1.2.x)
- material design icons (2.1.x)
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
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.
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.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.