Series metrics API

This process serves /api/* only. For the dashboard UI, run npm run dev (or npm run dev:all) and open http://localhost:5173.

Useful routes: