News for hackers. Stuff that matters.

elazzabi_

Re:I accidentally built a nudity/porn platform on Tuesday August 11, 2020 @08:57AM (#24119789)
Hey, OP here. I'm glad it resonated with you!

I would love to take a look at your B2B project for inspiration if that's possible :)

Re:I accidentally built a nudity/porn platform on Tuesday August 11, 2020 @08:54AM (#24119765)
Hey, author of the post here.

The whole app lives in Firebase. Once a user hits a profile page, a cloud function runs, get the data from the DB, constructs the page, and caches it at the CDN for 24h.

If a user add/delete something on their profile, the cache is removed. Otherwise, the content is served from cache only with no need for a lot of computation.

With this, you can still get your way through Firebase's generous free tier https://firebase.google.com/pricing