go-doc/backend/webui/dist.placeholder/index.html

33 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2026-10-07 15:03:50 +02:00
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>go-doc &middot; frontend not built</title>
<style>
body {
margin: 0;
min-height: 100vh;
display: grid;
place-items: center;
background: #0b0f14;
color: #cbd5e1;
font: 16px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
}
main { max-width: 46rem; padding: 3rem; }
h1 { color: #f8fafc; font-size: 1.6rem; }
code { color: #7dd3fc; }
ul { padding-left: 1.2rem; }
</style>
</head>
<body>
<main>
<h1>go-doc API is running</h1>
<p>This is the placeholder page shipped with the Go binary. The React bundle has not been compiled into it yet.</p>
<ul>
<li>Run <code>make frontend-run</code> for the Vite dev server on port 5173.</li>
<li>Run <code>make build</code> to embed the production bundle into the binary.</li>
</ul>
<p>API: <code>/api/health</code> &middot; <code>/api/docs</code> &middot; <code>/api/docs/{slug}</code> &middot; <code>/api/docs/{slug}/comments</code></p>
</main>
</body>
</html>