Skip to content

This is a demo repo for my medium post, a PWA application, which provide foreground and background messaging, notifications handling, using Angular, Angular Firebase, and Angular Firebase Cloud

Notifications You must be signed in to change notification settings

zhangxin511/PushDemo

Repository files navigation

PushDemo

This project was generated with Angular CLI version 8.3.12. It is a demo project designed for technical article. Please read and follow that article to see how to play with demo

Run PWA locally

  1. Please update the content of environment.prod.ts to your own firebase setting
  2. Install http-server-spa globally: npm install -g [email protected], you will only need to run this once.
  3. Build production module with source map:ng build --prod --source-map
  4. Serve your application using http-server-spa dist/PushDemo/ index.html 18080 (I used 18080 port, you can use any free port you are using), visit http://localhost:18080/.

About

This is a demo repo for my medium post, a PWA application, which provide foreground and background messaging, notifications handling, using Angular, Angular Firebase, and Angular Firebase Cloud

Resources

Stars

Watchers

Forks

Packages

No packages published