Re:Ask HN: How are you hosting multiple small apps?
by imperez on Sunday September 24, 2023 @11:35AM
(#37634044)
I went from working on one side project to now 3 or 4. Not a ton but like you wanted to figure out hosting. This is my hosting setup that has worked well for me.
- All project frontends are built on SvelteKit. This could Next, Remix or any framework really. This allows me to serve it on Cloudflare Pages for free.
- All the app logic for my projects use one REST API service. This is hosted on Digital Ocean.
- The DB for my API is also hosted on a Managed MySQL service from Digital Ocean. I could setup my own droplet but I wanted one less thing to manage. I'm looking to move this to Cloudflare D1 once it's available for public usage.
- All my images are hosted on Cloudflare R2. This is great because it connects to Cloudflare's DNS and makes it a simple step to add a custom domain.
- All project frontends are built on SvelteKit. This could Next, Remix or any framework really. This allows me to serve it on Cloudflare Pages for free. - All the app logic for my projects use one REST API service. This is hosted on Digital Ocean. - The DB for my API is also hosted on a Managed MySQL service from Digital Ocean. I could setup my own droplet but I wanted one less thing to manage. I'm looking to move this to Cloudflare D1 once it's available for public usage. - All my images are hosted on Cloudflare R2. This is great because it connects to Cloudflare's DNS and makes it a simple step to add a custom domain.