feat: replace localStorage with Bun/Hono API backend

- server.ts: Hono server with basic auth, GET/PUT/DELETE /api/* endpoints
- defaults.json: extracted board defaults from index.html
- Dockerfile: containerized for Coolify deployment
- index.html: all state-layer rewritten from localStorage to fetch API

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Robin Choice
2026-05-20 19:13:13 +02:00
parent 0a344576b0
commit 4f5e16a286
6 changed files with 1702 additions and 592 deletions

8
Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM oven/bun:1
WORKDIR /app
COPY package.json ./
RUN bun install --production
COPY server.ts bootstrap.ts defaults.json index.html ./
COPY assets/ ./assets/
EXPOSE 3000
CMD ["bun", "run", "server.ts"]