Scaffold Docker-only Node 24 + TypeScript EJS web backend

This commit is contained in:
2026-06-14 11:45:30 +02:00
commit 4eed701419
25 changed files with 2443 additions and 0 deletions

75
public/css/style.css Normal file
View File

@@ -0,0 +1,75 @@
:root {
color-scheme: light dark;
--bg: #ffffff;
--fg: #1a1a1a;
--muted: #5a5a5a;
--accent: #2563eb;
--border: #e5e5e5;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #15171a;
--fg: #e8e8e8;
--muted: #9aa0a6;
--accent: #6ea8fe;
--border: #2a2d31;
}
}
* {
box-sizing: border-box;
}
body {
margin: 0;
background: var(--bg);
color: var(--fg);
font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
.site-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 1rem 1.5rem;
border-bottom: 1px solid var(--border);
}
.site-header .brand {
font-weight: 700;
text-decoration: none;
color: var(--fg);
}
.site-header nav a {
color: var(--muted);
text-decoration: none;
}
.site-header nav a:hover {
color: var(--accent);
}
main,
footer {
max-width: 42rem;
margin: 0 auto;
padding: 1.5rem;
}
footer {
color: var(--muted);
border-top: 1px solid var(--border);
}
a {
color: var(--accent);
}
code {
background: color-mix(in srgb, var(--fg) 8%, transparent);
padding: 0.1rem 0.35rem;
border-radius: 4px;
}

4
public/favicon.svg Normal file
View File

@@ -0,0 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<rect width="32" height="32" rx="6" fill="#2563eb" />
<path d="M9 22V10h2.4l5.2 8V10H19v12h-2.4l-5.2-8v8z" fill="#fff" />
</svg>

After

Width:  |  Height:  |  Size: 194 B

2
public/robots.txt Normal file
View File

@@ -0,0 +1,2 @@
User-agent: *
Allow: /