The project was created for a talk at Recurship using Angular CLI. Links to slides and demo can be found below.
See the app live and running here
The slides of the talk can be seen on the link below: https://slides.com/ahsanayaz/creating-pwas-using-angular/
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.
Run sh run.sh
from your shell.
This will do all the cool stuff and will create the PWA in the dist folder as well as will start the server on localhost:8080.
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.
Before running the tests make sure you are serving the app via ng serve
.
Feel free to contribute. Add pages & functionality. Make this PWA even cooler by doing lazy routing etc. Your PRs will surely be merged if they're cool and passing the builds :)