Demo · Firebase Cloud Messaging

Orbit Files

A pretend file-sharing service, built to show how a real site signs a user in and binds their Firebase device token to their account in Moonsender.

What happens when you sign up

  1. PUT /api/v1/audience/customers/{email} a Moonsender customer is upserted — this must happen first, because binding resolves an existing customer and will not create one
  2. getToken() (Firebase SDK) Google mints a registration token for this browser. Unlike the native demo there is no Moonsender subscribe step — a firebase project has no public one
  3. POST /api/v1/push/subscriptions/bind this site's backend registers the raw token under the firebase project and attaches it to your customer, using its API key
  4. POST /api/v1/send/push/custom a test notification, addressed to the customer rather than the device

Create an account

Already registered

Accounts live in memory and vanish when the container restarts. Use a throwaway password — this is a demo, not a service.