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
cultofmetatron2 replies#
elixir/phoenix is the best platform for knocking out an MVP today. Its batteries included and has a frontend system called liveview that lets you write most of your frontend using elixir too. You get built in pubsub and websockets which are important for any new kind of software product. Users demand more interactivity and phoenix lets you do it and scale from day 1. Ecto is easily the best sql database library I've ever worked with. Its comparable to linq only it is uses elixir macros so its just a library.

1. you get a lot of out of the box rails like glue jsut like rails or django but the runtime perf is way faster. you can get away without even using caching in prod for awhile
2. supabase is written in elixir
3. lambda could functiosn have their place but loc you in to a cloud provider. I can move my elixir mvps accross providers with no issue and I won't get any surprise bills.

tluyben2#
I love elixir/phoenix and wish I could use them in prod for my job, but...

> pubsub and websockets which are important for any new kind of software product
... not really. By far most people (probably by a huge margin) are doing fine building 1000s of new products per week without either those things.
Further I think you are right.

linuxftw2 replies#
Holy smokes! I had no idea this project existed, and it just solves so many issues out of the box.

I'm a backend/infra developer, and I had been dreading having to learn a new front end framework because the work flows just look hideous. This looks like I can sidestep most of that problem entirely.

cultofmetatron1 reply#
phoenix has been the inspiration for a lot of stuff comming out of the other frameworks.

phoneix channels -> django channels and actvecable but phoenix's version is much more powerful
liveview -> livewire, hotwire. both are copies of liveview but neither of them are as powerful since only liveview can spinup a persistent thread PER user allowing active stateful sessions that can push and recieve events from the client.

omnimus#
Not claiming LiveView is not most powerful (probably is because erlang is most suited to this). But saying that Livewire or Hotwire are copies is not fair at all. I am not sure why they are named in so similar way but they are all green field projects.

Livewire has started at pretty much same time as LiveView and AFAIK both projects influenced each other over the years. Both authors are in contact and the frameworks are quite a bit different because Livewire (in PHP) does everything over http so it has to employ different tactics than LiveView that can run over websockets.
Hotwire on the other hand is from Basecamp who have been using this approach forever. They just packaged their experience into a framework they released. Theoretically hotwire is the oldest of the three.
I am saying this because i don't think you need to use LiveView. All of them are super productive and are used for many real projects. They are just a bit different and better at different things.

ch4s3#
Phoenix is super pleasant to work with, very few surprises.
bittermandel#
1. FastAPI (Python) or Axum (Rust) for back-end, deployed on Fly.io.

2. Supabase for Postgres and Authentication.
3. Astro as a framework for front-end, deployed on Vercel, running in Hybrid mode.
With all of these in-place, I can extend my existing components to accommodate any needs. It scales very well in the beginning as I move very fast, and anecdotally scales very well regardless of size.
The only missing parts here is support for timed jobs, but that can probably be done with Fly.io machines in the future.

iainctduncan1 reply#
I am building one now as a single founder, with plans to never grow beyond a few people, and I'm using Clojure + Postgres (having done Python for almost 20 years!). I do technical due diligence for private equity companies for a living, and I evaluated two Clojure companies. It was amazing how much they could avoid in terms of problems as a small team by leveraging the JVMs concurrency and threading capabilities. No worrying about microservices, managing crazy k8 systems, or complex CQRS problems, no outgrowing pokey ORMs (a problem I have talked to way too many mid stage companies about who started on Rails or Django - huge elephant in the room there). I intend to use a mix of HTMX, some Reframe (a clojurescript reactive framework over react) and webassembly on the front end.

Clojure's not the easiest thing to get into, the stability and documentation and libraries are great.

nilsmagnus#
Clojure is something i really want to learn and work with. The people using it on projects seem at another level of productivity.
chadmckenna#
I'd go full stack Rails with Turbo and Postgres DB. As things grow, you can easily migrate your Rails app towards a JSON API layer and create new clients to interact with it either with your favorite JS framework or mobile app. I just love how quickly you can churn out new features in Rails -- or how easy it is to implement things like authentication or an admin panel by simply adding a gem.

Load more comments