A Vite-powered React frontend backed by a Python FastAPI service with Redis caching.
- Frontend: React 19 + TypeScript + Vite
- Backend: Python FastAPI
- Cache: Redis
- AppHost: TypeScript
apphost.ts
cd samples/vite-react-api
npm install
aspire run- TypeScript AppHost (
apphost.ts) orchestrating polyglot services addDockerfilefor Vite frontend and FastAPI backend containersaddContainerfor Redis caching layer- Environment variable wiring between services
- HTTP endpoint configuration with external access