AMPYARDJUNCTION 7 · A1
Stage 01 / 09 Commissioning

Junction 7 · A1 corridor · commissioning

The depot before the first car.

Ampyard is a fictional highway charging depot built to make Nitro v3's server surface visible: routes, cache, KV, D1, cron, realtime, and a charger-agent contract. Stage 1 is the shell and the deploy.

Stage 01 · Foundation — One deployable app, one stage route, one brand.

Foundation

One app. One deploy. One stage route.

✓Nitro v3 with the Vite plugin builds the client and the server together.
✓Vue Router renders the same routes on the server and in the browser.
✓/preview/:stage is a real URL every lesson can embed.
✓Cloudflare KV, D1, Cron Triggers, and a Durable Object are declared before the first car arrives.
// vite.config.ts
export default defineConfig({
  plugins: [vue(), nitro()],
  environments: {
    client: { build: { rollupOptions: { input: "./app/entry-client.ts" } } },
    ssr: { build: { rollupOptions: { input: "./app/entry-server.ts" } } },
  },
});

Bay map · awaiting telemetry

Eight connectors, no data yet.

The foundation is deliberately quiet. Stage 2 adds the first read route; stage 4 adds the first hold; stage 7 makes the board move on its own.

bay-01 → bay-08offline until stage 2
/api/depotarrives in stage 2
/preview/2next