Skip to content

A progressive angular web app example presented during a talk

Notifications You must be signed in to change notification settings

jagirhussain/ng-books-pwa

Repository files navigation

CI Status Dependency Status Devdependency Status Codacy Badge

NgBooks

The project was created for a talk at Recurship using Angular CLI. Links to slides and demo can be found below.

LIVE DEMO

See the app live and running here

SLIDES

The slides of the talk can be seen on the link below: https://slides.com/ahsanayaz/creating-pwas-using-angular/

Development server

Run ng serve for a dev server. Navigate to http:https://localhost:4200/. The app will automatically reload if you change any of the source files.

See PWA in action

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.

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.

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.

Contribute

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 :)

About

A progressive angular web app example presented during a talk

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages