- open a terminal
- $
cd api
- $
mix deps.get
- $
mix test
- $
mix phx.server
- open a terminal
- $
cd site
- $
npm install
- $
npm start
Make sure both services are running in different terminals.
Now you can visit localhost:3000
from your browser.
Example of Bank Account in Elixir using Persistent State with Dynamic Supervisors
Elixir
cd api
mix deps.get
mix test
mix phx.server
cd site
npm install
npm start
Make sure both services are running in different terminals.
Now you can visit localhost:3000
from your browser.