initial commit
This commit is contained in:
commit
23816d00f7
71 changed files with 14497 additions and 0 deletions
33
backend/webui/dist.placeholder/index.html
Normal file
33
backend/webui/dist.placeholder/index.html
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>go-doc · 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> · <code>/api/docs</code> · <code>/api/docs/{slug}</code> · <code>/api/docs/{slug}/comments</code></p>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue