StashBank / angular-pwa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Angular PWA

This project requires firebase-tools. To install it run npm install -g firebase-tools.

Development server

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.

Code scaffolding

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.

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.

Deploy (for firebase branch)

Run npm run deploy for deploy it on Firebase hosting Web site

Resources

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

About


Languages

Language:TypeScript 70.7%Language:JavaScript 14.1%Language:HTML 12.0%Language:CSS 3.2%