← back to Ventura Bus 3d
README.md
30 lines
# ventura-bus-3d
Express + Three.js scaffold for a Ventura Boulevard 3D corridor experience.
## Run
```bash
npm install
npm start # http://127.0.0.1:9871
# or
npm run dev # node --watch
```
## Endpoints
- `GET /` — Three.js scene (orbit camera, animated bus, clickable stop chips)
- `GET /api/route` — corridor bounds + stop list (JSON)
- `GET /healthz` — service health
## Layout
```
src/server.js Express server, static + JSON API
public/index.html HUD + import map for three
public/js/main.js Scene, camera, bus, route, animation
public/assets/ (drop GLB / KTX2 here)
```
Default port `9871` (override via `PORT`).