Should I build my Telehealth app in Elixir?

Hi, everyone!
I have a SaaS for medical clinics and I’ll be building a telehealth module for my clients (patient to doctor, 1-to-1 calls).

I’m considering Elixir, but my first option would be Node.js. Has anyone built something similar? Any suggestions on how you would approach this?

2 Likes

I would recommend using Phoenix + Ash + Surface UI for this project.

  • Ash will help defining the models and api endpoints
  • Surface UI will make easier to create liveviews for people that comes from react.js

With these considerations you can create a professional software and have all the good parts of Elixir and BEAM.

2 Likes

Here’s a good place to start!

Choose the path with less technical risk and shortest time to market. :slight_smile:

SurfaceUI brings a lot of useful features to Phoenix Liveview. The technical risk is low due to this project green field, so everything is new.In my personal experiencie using SurfaceUI helps people that comes from Javascript frontends such as React.js and quickly learn it.

Tackling the shortest time to market does not depends on the technilogy used (assuming Elixir is chosen), depends more on the stakeholder priorities and knowledge of the business domain.

If you have a good and deep knowledge of the business domain, then chosing a new technology stack is doable. If you are learning both the domain and technology stack then may be a risky move.

At the end of the day it only depends on who will participate in creating the project and the available time and resources for the project. But in my opinion chosing Elixir is a great choice.

That is exactly what is meant by 'technical risk and shortest time to market"

Live react is a better choice than surface: LiveReactExamples · Phoenix Framework

I am sorry - for my sake - I replied to your message by mistake, instead of the OP.
go in peace.

1 Like

True, ideally if you know where to look for great elixir engineers, you will get a much better value for you buck compared to most other stacks on the market. The only exception I would say is if another ecosystem provides most of what is needed as already implemented functionality, then you would never beat that when building it from scratch.

Better how? These are 2 completely different tools aimed to solve different problems. If you are using live_react, then that arguably is no longer a liveview project, but something that leans towards having a classical 2 stack web application.

LiveReact and LiveSvelte are good choices. But they must download the client js code. So for certain use cases, for example when you need to have less than 1 mb of JS downloadss to improve the Lighthouse metrics, then Liveview and Surface UI can be a better choice.

This is real example, once of my previous projects they migrated from Next.js to SurfaceUI due to reaching better Lighthouse metrics and less JS bloat.

1 Like

I think if you’re asking here, there might be a bias in the responses you get :smile:

But this statement reminded me of this recent blog post:

2 Likes