Harden gitignore and improve README
This commit is contained in:
parent
e7e151b439
commit
ee7d7320ac
5 changed files with 60 additions and 16 deletions
3
.env
3
.env
|
|
@ -1,3 +0,0 @@
|
|||
NEXT_PUBLIC_SUPABASE_URL=https://yntzfgnkrwjlnbaxxkkc.supabase.co
|
||||
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=sb_publishable_AVx1DjyUnRtpqGoyHhVR_A_GCtJVXZh
|
||||
NEXT_PUBLIC_SUPABASE_SERVICE_KEY=sb_service_AVx1DjyUnRtpqGoyHhVR_A_GCtJVXZh
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
NEXT_PUBLIC_SUPABASE_URL=https://yntzfgnkrwjlnbaxxkkc.supabase.co
|
||||
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=sb_publishable_AVx1DjyUnRtpqGoyHhVR_A_GCtJVXZh
|
||||
14
.gitignore
vendored
14
.gitignore
vendored
|
|
@ -1,9 +1,17 @@
|
|||
.next
|
||||
node_modules
|
||||
.next
|
||||
out
|
||||
.vercel
|
||||
dist
|
||||
coverage
|
||||
.turbo
|
||||
|
||||
.env
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
|
||||
*.log
|
||||
.DS_Store
|
||||
next-env.d.ts
|
||||
|
||||
.eslintcache
|
||||
|
|
|
|||
51
README.md
51
README.md
|
|
@ -1,6 +1,25 @@
|
|||
# Inspannings Monitor
|
||||
|
||||
Wellness-first webapp voor individuele gebruikers die hun energie willen plannen, uitvoeren en evalueren.
|
||||
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
|
||||
|
||||
|
|
@ -12,6 +31,15 @@ Wellness-first webapp voor individuele gebruikers die hun energie willen plannen
|
|||
- 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`
|
||||
|
|
@ -21,19 +49,20 @@ Wellness-first webapp voor individuele gebruikers die hun energie willen plannen
|
|||
|
||||
## Supabase Auth configuratie
|
||||
|
||||
1. Kopieer `.env.example` naar `.env.local`
|
||||
2. Vul in:
|
||||
- `NEXT_PUBLIC_SUPABASE_URL`
|
||||
- `NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY`
|
||||
3. Zet in Supabase Dashboard aan:
|
||||
1. Zet in Supabase Dashboard aan:
|
||||
- Email/password auth
|
||||
- Self-signup
|
||||
- Email confirmation verplicht
|
||||
4. Voeg redirect URLs toe voor:
|
||||
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:
|
||||
|
|
@ -45,10 +74,16 @@ de profile/settings-laag lokaal test.
|
|||
|
||||
## UI foundation
|
||||
|
||||
De app gebruikt nu `shadcn/ui` bovenop `Tailwind CSS` als herbruikbare basis voor
|
||||
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.
|
||||
|
||||
## Documentatie
|
||||
|
||||
- Hoofdset specificaties en plannen: [docs/README.md](/Users/janpetervisser/Development/third/docs/README.md)
|
||||
- Technische architectuur: [inspannings-monitor-05-technische-architectuur-en-implementatie-v01.docx](/Users/janpetervisser/Development/third/docs/inspannings-monitor-05-technische-architectuur-en-implementatie-v01.docx)
|
||||
- Implementatieplan en backlog: [inspannings-monitor-06-implementatieplan-en-backlog-v01.docx](/Users/janpetervisser/Development/third/docs/inspannings-monitor-06-implementatieplan-en-backlog-v01.docx)
|
||||
|
||||
## Eerstvolgende bouwstappen
|
||||
|
||||
1. `ST-201` Ochtendcheck-in UI bouwen
|
||||
|
|
|
|||
6
next-env.d.ts
vendored
Normal file
6
next-env.d.ts
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/// <reference types="next" />
|
||||
/// <reference types="next/image-types/global" />
|
||||
import "./.next/types/routes.d.ts";
|
||||
|
||||
// NOTE: This file should not be edited
|
||||
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
|
||||
Loading…
Add table
Add a link
Reference in a new issue