Sports Viewer
Hybrid Next.js and FastAPI runtime with a production Docker entrypoint.
The frontend is served by Next.js, the backend is served by FastAPI, and the production container stack is fronted by Caddy. Use the links below to verify each runtime surface directly.
Next.js Route Handler
/api/helloNextJs
Verifies the Node runtime path exposed by the App Router.
FastAPI Endpoint
/api/py/helloFastApi
Verifies the Python backend path used in local development and the Docker proxy stack.
API Docs
/docs
Opens the FastAPI Swagger UI through the same routing layer used by the app.
Local development
Run `npm run dev` to start Next.js on port 3000 and FastAPI on port 8000 with rewrites enabled automatically.
Production container stack
Run `docker compose up --build` to serve Caddy on port 80, proxy `/api/py/*` to FastAPI, and route all remaining requests to Next.js.