Skip to content

A proof of concept embedding Elm in Elixir Phoenix, communicating over channels.

Notifications You must be signed in to change notification settings

rexikan/PhoenixElm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhoenixElm

A proof of concept embedding Elm in Elixir Phoenix, communicating over a channel.

Look at the JavaScript console, and inspect the web socket, to see the behind-the-scene action. The interesting bits of code are found at:

Inspired by:

To start the app:

  1. Install dependencies with mix deps.get
  2. Install more dependencies with npm install
  3. Finish up pulling dependencies with cd web/elm/ and elm make
  4. Start Phoenix endpoint from project root with mix phoenix.server

Now you can visit localhost:4000 from your browser.

(This worked when I first did it, but it doesn't right now. Seems like some dependency got updated and broke the chain. Will not investigate more right now.)

About

A proof of concept embedding Elm in Elixir Phoenix, communicating over channels.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published