635b3ce598
- Custom Next.js server starts MQTT listener on boot - Subscribes to zigbee2mqtt/Bodenfeuchte_1, stores soil_moisture in SQLite - API route /api/data returns last 6 hours of measurements - Frontend shows current value + Recharts line chart, auto-refresh every 60s - Dockerfile + docker-compose with persistent volume for SQLite DB Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
50 lines
554 B
Plaintext
50 lines
554 B
Plaintext
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
|
|
# dependencies
|
|
/node_modules
|
|
/.pnp
|
|
.pnp.*
|
|
.yarn/*
|
|
!.yarn/patches
|
|
!.yarn/plugins
|
|
!.yarn/releases
|
|
!.yarn/versions
|
|
|
|
# testing
|
|
/coverage
|
|
|
|
# next.js
|
|
/.next/
|
|
/out/
|
|
|
|
# production
|
|
/build
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.pnpm-debug.log*
|
|
|
|
# env files (can opt-in for committing if needed)
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# sqlite data
|
|
/data/*.db
|
|
|
|
# compiled server
|
|
/dist
|
|
|
|
# vercel
|
|
.vercel
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
next-env.d.ts
|