MihailPertsev
Elixir or Phoenix integration with Node JS
Hi! I am new to elixir and I am realy love it, this language is simply amazing. My question is this
I have existing Electron app, that contains a bunch of node js scripts. Basically, what I am doing is browser automation via playwright (filling forms with data => save result => display report to user) and what I want is parallel execution of those scripts. How can I create kind of “control” elixir app for my node scripts?And how can I connect it to my existing electron interface.
The flow that I want to achieve: User clicks on button => electron app somehow communicate with elixir app => elixir app starts node js instance 1; User clicks again => electron communicate with elixir => elixir starts node js instance 2… etc
Marked As Solved
joddm
Also Liked
harmon25
MihailPertsev
This is the picturse that should clarify what I want
https://imgur.com/gallery/gMo7zO4
https://imgur.com/gallery/we2QFh6
Do not misunderstand me, right now everything works without elixir and it works fine, but what I want is to test and kind of play with elixir’s parallelism ability. Any simple way is ok for me, I am not an expert after all.
hubertlepicki
So @MihailPertsev have you ended up using Playwright? If so, which approach did you choose and how did it go?
Last Post!
McTheels
I have tried this out, but getting an error :
{:error,
"Cannot find module ....}
What should the name of the module be?
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex









