OccultSlolem
OccultSlolem2y ago

Just finished porting my firebase code

Just finished porting my firebase code and I ended up slashing like 200-300 lines of code in the process :squirtlesunglasses:
6 Replies
ari
ari2y ago
Were you using Firebase auth by chance? If so, how was that migration?
OccultSlolem
OccultSlolemOP2y ago
I was. I was using Clerk with Firebase and since Convex has that integration it actually made things easier since I didn't have to manually sync the Clerk stuff with the Firebase stuff.
ari
ari2y ago
Nice! Glad to know the Clerk+Firebase setup worked seamlessly
philipsman
philipsman2y ago
@OccultSlolem how many lines of code was your firebase stuff? And you also created a new schema for everything?a
OccultSlolem
OccultSlolemOP2y ago
I had about 200 lines of code in my functions, that was slashed down to 130 on my Convex backend code not including the schema I created. A lot of the savings came on the frontend - I used functions to request and post data since I wanted to make sure everything was validated. Since I could stick all that stuff directly into the query I was able to get rid of a lot of connective tissue.
tstepro
tstepro2y ago
I made the switch too. And I'm not looking back!

Did you find this page helpful?