TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How to architect the back end for my side project (Family Movie DB)?

3 pointsby jayFellows11 months ago
Working on a side project: Family Movie DB (familymoviedb.com)<p>Currently it&#x27;s a simple static site (built with Astro) served via Cloudflare Pages.<p>The next phase of the project is to add user accounts to support the following:<p>- Staring a movie<p>- Marking a movie as &quot;watched&quot;<p>- Creating movie lists<p>- Customizing the weights used for the site&#x27;s scoring algo (the &quot;FMDb score&quot;) (because some families value X more than Y and are more concerned with A than B, etc, etc)<p>- Access member-only content (e.g. as movie discussion guides)<p>- Probably more things, that&#x27;s just the initial thinking<p>From the beginning my thinking was to use the dynamic rendering abilities of Astro via Cloudflare Pages&#x27; &quot;Functions&quot; (Workers) to handle this and use something like Cloudflare&#x27;s D1 or Turso for the database.<p>However, this means that 100% (or at least nearly 100%) of the pages will invoke a Workers function call. Since Cloudflare&#x27;s pricing seems super cheap I wasn&#x27;t concerned about this. However, after the recent Cloudflare drama, the idea of lowering my platform risk seems like a very good idea.<p>Context:<p>- Generally hate complexity<p>- Bulk of my experience is on the frontend<p>- Try to keep costs to an absolute minimum<p>- This is one of several projects in the works... would like an approach i could extend to other projects<p>- Have managed VPSes before... both love and hate the idea of doing it again<p>- Generally love the concept of something like Convex but am concerned about platform risk (yes, i know it can be self hosted, but this seems like more of an &quot;in theory&quot; type of thing than practical fallback option)<p>Options i see:<p>- Self host on a VPS (maybe using something like PocketBase or CapRover)?<p>- Keep using Cloudflare, but only for the DNS and hosting via Pages), with the idea that I could relatively easily switch this to something like Vercel or Netlify in the future if need be?<p>- Use something like Vercel or Netlify instead?<p>- Use Convex (https:&#x2F;&#x2F;www.convex.dev&#x2F;) (would still need to host the site somewhere but i think this would cover all backend needs, current and future, without scaling concerns)?<p>- Other?<p>Please help me decide!

2 comments

beretguy11 months ago
<a href="https:&#x2F;&#x2F;dima.fi&#x2F;ftframeworks&#x2F;" rel="nofollow">https:&#x2F;&#x2F;dima.fi&#x2F;ftframeworks&#x2F;</a><p>LAMP, simple. Host it where ever you want: shared hosting, VPS, pi in a closet, etc.<p>PS: let’s see how grey this comment can get :)
评论 #40865006 未加载
jayFellows11 months ago
Recently learned about <a href="https:&#x2F;&#x2F;coolify.io" rel="nofollow">https:&#x2F;&#x2F;coolify.io</a> (as another option that seems worth considering).