Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.07 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.07 KB

Smart Home Guard back-end

CD CD

Main contributors

Feature module convention

Each feature module must export the following components with these exact names:

  • WebFeature
  • IotFeature
  • WebNotification
  • IotNotification
  • MUST_ON

in order for the macro create_features! to work properly!

See the template_feature in backend-core for an example exposed module interface.

Generate a pair of public/private keys for web push

  1. Run this command
npx web-push generate-vapid-keys --json
  1. Update the PUBLIC_VAPID_KEY and PRIVATE_VAPID_KEY accordingly.