SupaSaya

SupaSaya

Elixir as backend for electron app?

I developed fairly complicated elixir/phoenix umbrella SAAS app, only to realize I choose wrong niche…

Now I can either abandon the whole thing or release it for free as windows/mac software that users can run on their own computers.

Porting my JS frontend to electron is easy, how about packaging erlang/elixir/phoenix w postgres… Is it even possible?

cheers

Most Liked

jwarlander

jwarlander

You could probably package the Erlang/Elixir/Phoenix parts as a release.. maybe wrap it in an OS package (Chocolatey / Homebrew / DEB / RPM / whatnot) with proper startup scripts etc, and have a dependency on an official PostgreSQL package.

Last Post!

Forseth

Forseth

I was in the same position with my logistics application. I was going to deploy elixir as a api backend as normal then write a script in the node js that handled rest calls to the elixir backend., this was probably the fastest way of getting where i wanted. that said they ended up using the browser instead as they perceived it as more flexible in the end

Where Next?

Popular in Questions Top

minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
marius95
Hello everyone, I try to use an Javascript Event Handler in my root.html.leex file. Therefore I created a function in the app.js file: ...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
svb
Hi! Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New

Other popular topics Top

JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 54996 245
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New

We're in Beta

About us Mission Statement