A travel progressive web application featuring various points of interests around your location. Written in Angular using Kentico Cloud as a data source.
- The latest version of NodeJS and npm. You can download both at https://nodejs.org/en/download/
- The project is using Angular CLI version 6.0.5. You can install it by running
npm i -g @angular/cli.
These command line instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Type
git clone git@github.com:Kentico/cloud-sample-angular-pwa-app.gitto clone the sample application repository. - Type
cd cloud-sample-angular-pwa-appto navigate to the root folder of the application. - Type
npm installto install the required npm packages. - Type
npm startto start a development server. - Navigate to
http://localhost:4200/. The app will automatically reload if you change any of the source files.
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 npm run build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
Run npm run test to execute the unit tests via Karma.
Run npm run 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.