Phoenix Web app template with asset pipelines for React and TypeScript
A Phoenix framework app with React and TypeScript as its frontend.
mix deps.get
mix ecto.setup
mix phx.server
or inside IEx with iex -S mix phx.server
Now you can visit localhost:4000
from your browser.
For developing the frontend:
cd
into the frontend directorynpm install
npm run dev
Now you can visit localhost:3000
from your browser.
To understand how the entire setup works, read this detailed blogpost where I explain it in detail.