Same server serves the REST API (for Android/iOS/web clients) and a small web UI for development.
fetch calls; uses POST /api/auth/login or POST /api/auth/signup, then Authorization: Bearer <accessToken>.accessToken.Auth is entirely on the backend: POST /api/auth/signup or POST /api/auth/login returns accessToken. Optional legacy POST /api/users creates an account without returning a token.