csdojo-defaang / defaang

A website that will curate recently-asked interview questions from FAANG+. Currently inactive. Check out: https://github.com/ykdojo/OpenStream
MIT License
509 stars 120 forks source link

[DX] Research on Firebase features #300

Open ykdojo opened 1 year ago

ykdojo commented 1 year ago

Description

Get ready to migrate to Firebase by doing some research - in case we actually decide to go with it. Related: #243

[ ] How to do migrations (within Firebase)? [ ] How to get a schema and create a new environment based on it? [ ] How to protect an API path and use admin-level access in it [ ] How to make a local backup [ ] What's the pricing model? [ ] Any other potential issues?

adilwahla commented 1 year ago

working on it will submit shortly just check (unfinished [DOC]) & let me know am I going in right direction? https://github.com/adilwahla/defaang/blob/main/MIGRATION_TO_FIREBASE.md

ykdojo commented 1 year ago

@adilwahla thank you. Perhaps I should've clarified this earlier, but what I meant by migrations is migrations within a Firebase project, not a migration from Supabase to Firebase.

mamonraab commented 1 year ago

[ ] How to do migrations (within Firebase)? https://firebase.google.com/docs/firestore/manage-data/move-data

[ ] How to get a schema and create a new environment based on it? iam not sure what the question is

[ ] How to protect an API path and use admin-level access in it https://firebase.google.com/docs/projects/iam/roles

[ ] How to make a local backup https://firebase.google.com/docs/database/backups

[ ] What's the pricing model? https://firebase.google.com/pricing

[ ] Any other potential issues? when scale migrating out of firebase is problematic cost when scale is high don't use it when you have heavy relational data and need to enforce ACID