This is the frontend application for project Hobbie Locale This project is generated with Angular CLI version 1.5.0.
Mitali
Ruchi
Amitha
Shamal
Gaurang
Clone this repository on local machine. Open bash terminal and run following commands:
cd /path/to/client-app
npm install
This will install all the dependencies for this project.
Run ng start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
In order to call backend deployed on OpenWhisk with different ip address, we use proxies in angular 2 code.
Checkout proxy.conf.json file for mappig of urls.
Check package.json to check the starting script.
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.
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.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.