BuildBot

One Binary, Two Worlds

The dev loop

Lesson 2 of 5

Two dev servers — Go on 8080, Vite on 5173 — joined by Vite's server.proxy, which keeps the browser on one origin and makes CORS a production-only concern.

What you'll learn

  • Run the Go API and the Vite dev server side by side
  • Point Vite's server.proxy at the Go port so /api/ requests pass through
  • Understand what CORS actually is, and why the proxy makes it a non-issue in dev
Members only

A free account unlocks this lesson and every other one.

Runnable challenges, knowledge checks, and progress that syncs across your devices. No card needed.

Not sure yet? Try the free lesson first: The shape of the app