Closed vontell closed 2 months ago
@kdmonroe I heard this experiment well. I am closing this issue, but I would like to document your findings here. Could you share your findings here?
Supabase met the requirements for this Proof of Concept, successfully replacing Firebase's core operations with a real SQL-backed database, flexible security, and easy authentication. Next steps include refining the data schema (to include fields like verified
), integrating user roles, and enhancing security policies for production.
Ease of Setup:
Database Operations:
verified
) in the test data. User Account Creation and Authentication (Stretch Goal):
Security Rules:
USING (true)
) to allow public read and insert access for testing purposes. Supabase also supports more granular domain-based security, which could be useful as we move towards production.Regarding @kdmonroe's analysis above, I'd say we should vote on whether to move onto the next step which would be to actually productionize and integrate supabase into the project and remove all remnants of Firebase. This is obviously a version 2.1 task, but would be great to start planning it. @gcardonag @RNR1 what do you two think?
Firebase is lacking some core features for bringing this project to the next steps, such as domain-based security rules, user authentication, proper typing and validation, lack of being backed by a real DB such as SQL or Mongo, and the ability to add backend functions on top of the data.
Before considering our own large backend server, let's see if Supabase can serve as a good alternative to Firebase. Goals for this prototype: