Hacker News new | past | comments | ask | show | jobs | submit login

Not a company but I’ve been experimenting with different tech stack options over the last 6 months to find a simple tech stack with an independent frontend and an independent backend with a hosted database. The goal is not just to build but also be able to maintain without much complexity and not spend a lot of money on hosting.

Backend: Building a REST/GraphQL API that could be deployed to Cloudflare workers is a no brainer. Super cheap and incredibly fast and when you need to scale it’s still ridiculously cheap. I’d probaby go with REST with swagger + openapi-typescript to generate types on the frontend because honestly GraphQL is a lot of work for one person to maintain.

Frontend: Next.js server render or ISG hosted on Vercel. I'd throw Tailwind on too for rapidly styling your pages.

Database: Prisma with Postgres so it could be typed and works well with other tools. I still haven’t figured where to host Postgres easily. Looking for something like Mongo Atlas where I could grab the connection URL easily and has affordable free/paid plans.




You could use something like the cockroachdb free tier, its pretty close in Postgres in syntax, with some minor differences.


And Prisma supports it equally well as PostgreSQL.


Railway sounds exactly like what you're looking for in hosting Postgres.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: