Alejandro Martinez 08846c9c63 fix: lazy DB initialization — useDb() called inside handlers, not at import
useRuntimeConfig() and better-sqlite3 were being called at module
top-level, which crashes during Nitro server startup. Now all DB
access is lazy via useDb(), and auth uses process.env directly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 15:36:17 +02:00
Description
Brainstorming app — Nuxt 3 + SQLite + admin auth
157 KiB
Languages
Vue 54.8%
TypeScript 41.7%
Dockerfile 3.3%
CSS 0.2%