This project requires firebase-tools. To install it run npm install -g firebase-tools
.
Run npm run build:server
to build http server.
Run ng b --prod
to build web app.
Run nodemon dist/server.js
to run http server.
Navigate to http://localhost:3000/
.
Also you can run npm run serve
to run all this commands.
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 test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Run npm run deploy
for deploy it on Firebase hosting Web site
Angular Service Worker Tutorial
Progressive Web Apps (PWA) Tutorial for Beginners - Getting Started
Building Our First PWA | Example Project
Progressive Web Apps (PWA) - The Complete Guide [Video] Udemy, www.packtpub.com