Wellness-first webapp voor volwassen individuele gebruikers die hun energie willen plannen, uitvoeren en evalueren. https://inspannings-monitor.vercel.app
Find a file
2026-04-18 15:59:22 +02:00
.github/workflows Add CI workflow and deployment guide 2026-04-18 15:59:22 +02:00
.vscode feat: initial commit 2026-04-18 14:18:26 +02:00
app Add shadcn UI foundation and update documentation 2026-04-18 14:39:22 +02:00
components Add shadcn UI foundation and update documentation 2026-04-18 14:39:22 +02:00
docs Add CI workflow and deployment guide 2026-04-18 15:59:22 +02:00
lib feat: initial commit 2026-04-18 14:18:26 +02:00
supabase feat: initial commit 2026-04-18 14:18:26 +02:00
.env.example feat: initial commit 2026-04-18 14:18:26 +02:00
.gitignore Harden gitignore and improve README 2026-04-18 14:46:06 +02:00
.nvmrc feat: initial commit 2026-04-18 14:18:26 +02:00
components.json feat: initial commit 2026-04-18 14:18:26 +02:00
energypace-specificatie-verbeteradvies-2026-04-17.docx feat: initial commit 2026-04-18 14:18:26 +02:00
eslint.config.mjs feat: initial commit 2026-04-18 14:18:26 +02:00
next-env.d.ts Harden gitignore and improve README 2026-04-18 14:46:06 +02:00
next.config.ts feat: initial commit 2026-04-18 14:18:26 +02:00
package-lock.json feat: initial commit 2026-04-18 14:18:26 +02:00
package.json feat: initial commit 2026-04-18 14:18:26 +02:00
postcss.config.mjs feat: initial commit 2026-04-18 14:18:26 +02:00
proxy.ts feat: initial commit 2026-04-18 14:18:26 +02:00
README.md Add CI workflow and deployment guide 2026-04-18 15:59:22 +02:00
tsconfig.json feat: initial commit 2026-04-18 14:18:26 +02:00

Inspannings Monitor

Wellness-first webapp voor volwassen individuele gebruikers die hun energie willen plannen, uitvoeren en evalueren.

Productrichting

Inspannings Monitor wordt bewust gebouwd als wellness/self-management product, niet als medisch hulpmiddel. Release 1 blijft smal:

  • alleen individuele gebruikers
  • alleen Nederlands
  • geen delen met zorgverleners of naasten
  • geen AI of medische workflows in de MVP

Huidige scope

  • e-mail/wachtwoord-auth via Supabase
  • protected dashboard met server-side sessiecontrole
  • korte onboardingflow voor eerste voorkeuren
  • instellingen voor taal, timezone, reminders en zichtbaarheid van energiepunten
  • shadcn/ui foundation voor knoppen, formulieren, kaarten en meldingen

Stack

  • Next.js 16 App Router
  • React 19
  • TypeScript
  • Tailwind CSS
  • shadcn/ui component foundation
  • Vercel als hostingdoel
  • Supabase voor database en authenticatie

Snel lokaal starten

  1. Kopieer .env.example naar .env.local
  2. Vul in:
    • NEXT_PUBLIC_SUPABASE_URL
    • NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY
  3. Installeer dependencies met npm install
  4. Start lokaal met npm run dev

Scripts

  • npm run dev
  • npm run build
  • npm run start
  • npm run lint

Supabase Auth configuratie

  1. Zet in Supabase Dashboard aan:
    • Email/password auth
    • Self-signup
    • Email confirmation verplicht
  2. Voeg redirect URLs toe voor:
    • http://localhost:3000/auth/confirm
    • je Vercel productie-URL
    • eventuele preview-URL's die je wilt testen

Omgevingsbestanden

Gebruik alleen .env.example als template. Lokale bestanden zoals .env en .env.local horen niet in git thuis.

Supabase database migraties

Voor ST-102 staat de eerste databasefundering in:

  • supabase/migrations/20260418_create_profiles_and_user_settings.sql

Voer deze SQL uit in de Supabase SQL Editor of via de Supabase CLI voordat je de profile/settings-laag lokaal test.

UI foundation

De app gebruikt shadcn/ui bovenop Tailwind CSS als herbruikbare basis voor knoppen, formulieren, kaarten en meldingen. De theme tokens staan centraal in app/globals.css, zodat kleur, focus-states en componentgedrag consistenter blijven.

CI/CD

  • CI: GitHub Actions draait automatisch lint en build op pull requests en op main
  • CD: Vercel deployt automatisch previews voor branches/PR's en productie vanaf main
  • Uitwerking: docs/inspannings-monitor-cicd-en-deploy.md

Documentatie

Eerstvolgende bouwstappen

  1. ST-201 Ochtendcheck-in UI bouwen
  2. ST-203 Budgetlogica implementeren
  3. ST-301 Activiteitenmodel en planning opzetten
  4. ST-105 RLS-policy tests en hardening afronden