Skip to content

marcuson/A2BBUserSPA

Repository files navigation

A2BBUserSPA

This project is part of a bigger one, namely Angular 2 Beyond Browser (A2BB), and it is an in-browser Single Page Application (SPA) implementing a self-care panel for a user of the A2BB system.

The projects which are part of A2BB are:

and they have been developed as a demo to show the potentials of Angular2 - ASP.NET Core - Arduino technologies during a TechItalian meetup (see event here).

For an A2BB system description, please see A2BBServer.

If you want to know more about TechItalians, see TechItalia Tuscany MeetUp page.

This project was generated with angular-cli version 1.0.0-beta.28.3.

Prerequisites

You need to have NPM installed (see installation guide). After that, open a terminal and issue this command to install angular-cli:
npm install -g @angular/cli@1.0.0-beta.28.3
Then, from the terminal, go to the project root directory and type:
npm install

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/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.
Automatic tests not implemented yet.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.
Automatic tests not implemented yet.

Further help on Angular CLI

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