Title here
Summary here
Optional but recommended: a React task board that talks to the same Moonlight API.
frontend//api to port 8000 during devpublic/ for productionTerminal 1 — API:
php pionia serveTerminal 2 — frontend:
php pionia frontend:scaffold --framework=react-ts --yes
php pionia frontend:devOpen http://127.0.0.1:5173 — Vite proxies /api/v1/ to your Pionia server.
Fetch tasks from your React app:
const res = await fetch('/api/v1/', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ service: 'task', action: 'list' }),
});Production build:
php pionia frontend:buildFull guide: Vite integration.
Authorization from login state.