Migrate from Next.js to SvelteKit

- Replace Next.js app with SvelteKit + adapter-node
- basePath /bodenfeuchte configured in svelte.config.js
- MQTT listener starts via hooks.server.ts on server boot
- Chart.js replaces Recharts for the moisture graph
- Dockerfile simplified: single build step, node build output
- Removed custom server.ts (no longer needed)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-15 20:49:33 +02:00
parent a2af88136c
commit 534c055598
35 changed files with 3191 additions and 8370 deletions
+13
View File
@@ -0,0 +1,13 @@
import adapter from '@sveltejs/adapter-node';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
adapter: adapter(),
paths: {
base: '/bodenfeuchte'
}
}
};
export default config;