Example websocket chat in Elixir
To start your new Phoenix application you have to:
- Install dependencies with
mix deps.get
- Start Phoenix router with
mix phoenix.start
Now you can visit localhost:4000
from your browser.
- If you choose to change the application's structure, you could manually start the router from your code like this
WebsocketsElixir.Router.start