Setting up a Phoenix backend to serve React frontend using Webpack. Includes live reloading.
- Install frontend dependencies with
cd frontend && npm install
- Install api dependencies with
cd api && mix deps.get
- Start Phoenix endpoint with
mix phx.server
Now you can visit localhost:4000
from your browser to view the React Frontend.