Skip to content

Commit 8577861

Browse files
committed
Create API to track subscriptions and receive push notifications in Angular
Use the server from pluralsight/web-push-server as a starting point.
1 parent 74b5265 commit 8577861

File tree

9 files changed

+286
-113
lines changed

9 files changed

+286
-113
lines changed

angular/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,14 @@ This project was generated with [Angular CLI](https://github.com/angular/angular
1919
```
2020
2121
1. Navigate to `http://localhost:8080/`.
22+
23+
1. Start the server that keeps track of subscribers:
24+
25+
```
26+
node angular/web-push-server/app.js
27+
```
28+
29+
1. Click Enable Push Notifications (if notifications are already enabled,
30+
disable them and then enable them again).
31+
32+
Notifications will be sent every 30 seconds.

0 commit comments

Comments
 (0)