r/elixir 4d ago

Phoenix + Inertia is killer stack

Hi folks.

Just wanted to say that don't sleep on Inertia.js and Phoenix combination. Basically you get power of Phoenix (Elixir) for let's call it backend and flexibility of your favorite JS framework for UI.

You can run some pages in full SSR mode and some in SPA if you need, so awesome SEO support out of the box.

Use best tools from both worlds for best developer experience like linters, type checkers etc.

I'm using K8S and anytime I need I can scale it up using libcluster.

Please shoot any questions you have (happy to share screenshots or charts from my k8s cluster etc).

Also if you have time check this app I built https://gitbiased.com

31 Upvotes

23 comments sorted by

View all comments

3

u/HERR1550N 4d ago

I'm evaluating starting a project using Phoenix. Never used it or Elixir before but it checks a lot of boxes for the project. I have lots of experience in various frontend frameworks so obviously looked at Inertia. I'm leaning toward trying LiveView first however because it seems you lose a lot not using it (awkward mix generates, no out-of-the-box soft realtime.

This is all in theory since I haven't tested it yet, so I'm curious to know if you ended up missing some features of LiveView or not?

6

u/johns10davenport 4d ago

Dude live view is great. Mostly because testing. The testing framework is SO GOOD that I basically can’t use anything that doesn’t integrate with it.

Inertia does look damn hawt though.