Backend architecture for a subscription app
A practical architecture for a subscription/credit-based mobile app:
- Use Firebase or Supabase, start with anonymous login.
- Route buy, sell, trade — whatever there is — through Adapty or RevenueCat via webhooks.
- Manage credit spend with the functions feature available on both, or with an event-driven setup.
This keeps payment and credit logic on solid ground without forcing the user up front (anonymous login).