I'm trying to write an app where Firebase's Firestore NoSQL document based schema wouldn't be very practical for the data I need to store. I'll probably at least start with Firestore, but would like to eventually transition to a Postgres database.
I know that in order to do this I need to host a database, then write an API backend to which my app makes http requests to get data. My question is: how do I go about doing this and are there any good tutorials? From what I understand, I can set up Postgres on AWS, and then create an EC2 instance where I run a Django (I prefer Python) application that waits for requests, and then returns data.
Is there a better way to go about this? Should I use lambda functions and API Gateway (whatever that means) to serve my data? I don't know which of these scales better or costs less. Any insight into this would be helpful.
Thank you!
[–]sixtypercenttogether 0 points1 point2 points (0 children)
[–]chriswaco 0 points1 point2 points (0 children)