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
Were you using Firebase auth by chance? If so, how was that migration?
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.
Nice! Glad to know the Clerk+Firebase setup worked seamlessly
@OccultSlolem how many lines of code was your firebase stuff? And you also created a new schema for everything?a
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.
I made the switch too. And I'm not looking back!