DEV Community

Discussion on: DISCUSS: What was your first web app deployment experience like?

Collapse
 
retronav profile image
Pranav Karawale • Edited

Pretty insane and exciting.
I am making a Firebase, Angular based module management tool for Deno. At the first days, I was a bit "don't know what I'm doing" but now I am okay with all that stuff. The learning curve was a bit steep because it was the first time I was making a GCP/Firebase based project, but now I'm confident that I can do a lot more with Firebase and GCP. While making this, I was surfing the internet, like an hour everyday to optimize my read and write requests to Firestore .
Last 3 days, I was about to quit making the app. I was using cloud functions to make a REST API so that the app will progress more easily. Just made the basic ones for authentication, and deployed it. And started ng-server on locahost. And the CORS error showed up. Day and night, I did everything, even made a CORS middeware just for the API to work but it didn't. Yesterday, I used the angular proxy as the last hope and boy, it worked. It was an experience I will never forget easily.
Will post it on GitHub soon, comment if you are intrested. (A note: fetch your firestore documents as a hot observable so that users will get the last cached value of your document and will update if the document updates. Helps a lot to save reads)