Lurker News
Specifically the backend. I'd love to hear your reasons. Do you keep one eye on what the stack would be post MVP?

1. Old schoolish (VPS - Maybe DO, Django/Flask/Rails/Remix/Next with postgres)
2. Supabase etc with JS/TS on either side of the network
3. Lambda/Cloud functions with Firebase/Dyanamo DB/Cosmos DB etc
4..n. What else and why?

Comments (723) 347 threads

Earlier comments
zeendo#
Frontend - Elm + Tailwind (possibly Miso, it has been a while since I tried and dismissed it)

Backend - Haskell, Postgres
Infra - My most recent experience is with AWS and ECS but I'd likely try out Nomad and HAProxy.
Pretty much any other moving parts would depend on the MVP itself.

CuriouslyC#
I'd use Postgres for the data layer, I'd build the service layer around OpenFAAS (using faasd) and Node/Typescript functions, and for the client I'd probably go with React/Next (though Svelte is starting to look pretty attractive). For basic CRUD functions I would probably use Postgrest.

I'd stand it up on a VPS initially, using ansible scripts to make switching deployment targets to AWS easy.

zxexz#
Probably React for the frontend, Postgres for the database, PostgREST to serve up a REST API, Nginx for routing. Any services or tasks not done in the DB directly written in one of Python 3, Kotlin, or Go. Pretty much any generic search task including freetext is easy in Postgres, but if I need more I’d throw in Elasticsearch.

Building an MVP should be done with the tools you’re most comfortable with!

revicon1 reply#
Front end: Is SEO relevant? YES: AWS Lambda generating server rendered HTML behind API Gateway. NO: Vanilla React.JS app hosted on S3

Back End: AWS Lambda behind API Gateway
Database: AWS DynamoDB
This stack will reduce down to zero usage costs when there is no traffic and will scale up to much more than I will possibly need for anything resembling an MVP with no interference required by me.

dtx11 reply#
Could you elaborate (or link to a framework) for doing the server generated HTML on Lambda?
revicon#
I mean I'm literally building an AWS lambda function that outputs HTML when it's called via API Gateway. So someone hits https://mydomain.com/mycoolpage, then the MyCoolPage AWS Lambda function is executed, does database queries or reaches out to other lambda functions I've built as microservices and then outputs whatever.

If you're interested, I use https://middy.js.org/ as a middleware engine for my AWS lambda functions which I find helpful.
I use the open sourced serverless framework for doing deploys https://www.serverless.com/ though I'm probably going to move to using AWS SAM in the future.

Load more comments