first version
config CORS fixed key to one line helper prints clean up logs improved validations again validations fix rewritten flask and node.js solution added subscription route auth flow diagrams
This commit is contained in:
BIN
images/flic-button-request.png
Normal file
BIN
images/flic-button-request.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 378 KiB |
8
images/interaction-flow.mmd
Normal file
8
images/interaction-flow.mmd
Normal file
@@ -0,0 +1,8 @@
|
||||
stateDiagram-v2
|
||||
[*] --> FlicButton : Button Press
|
||||
FlicButton --> Bluetooth : Transmit Signal
|
||||
Bluetooth --> Phone : Receive Signal
|
||||
Phone --> WebhookWebPushService : Send Webhook
|
||||
WebhookWebPushService --> GooglePushAPI : Forward Notification
|
||||
GooglePushAPI --> PWA : Push Notification
|
||||
PWA --> [*] : Handle Notification
|
||||
BIN
images/interaction-flow.png
Normal file
BIN
images/interaction-flow.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 49 KiB |
7
images/subscription-flow.mmd
Normal file
7
images/subscription-flow.mmd
Normal file
@@ -0,0 +1,7 @@
|
||||
stateDiagram-v2
|
||||
[*] --> PWA : User Initiates
|
||||
PWA --> GooglePushAPI : Request Subscription
|
||||
GooglePushAPI --> PWA : Return Subscription Info
|
||||
PWA --> WebhookWebPushService : Store Subscription Info
|
||||
WebhookWebPushService --> PWA : Confirmation
|
||||
[*] --> Complete
|
||||
BIN
images/subscription-flow.png
Normal file
BIN
images/subscription-flow.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 62 KiB |
Reference in New Issue
Block a user