This project was generated with Angular CLI version 1.6.3.
Run npm install
to setup the project.
Enter your own Google API key in the apikey.ts file. The Google API key can be retrieved here.
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.
If you want to use the Angular App on mobile, you need to have an SSL certificate. Create your own SSL certificates and put them in the ssl folder.
Run ng serve --host 0.0.0.0 --ssl 1 --ssl-key "ssl/localhost.key" --ssl-cert "ssl/localhost.crt"
for a dev server with SSL. Navigate to https://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 ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.