fix: ST-611 README bijgewerkt naar Neon-only setup
This commit is contained in:
parent
f43dcd0f64
commit
d26d58f664
1 changed files with 11 additions and 8 deletions
19
README.md
19
README.md
|
|
@ -16,6 +16,7 @@ Lichtgewicht Scrum-planner voor solo developers en kleine teams die meerdere sof
|
|||
### Vereisten
|
||||
- Node.js 20+
|
||||
- npm
|
||||
- Een Neon PostgreSQL database ([neon.tech](https://neon.tech) — gratis tier volstaat)
|
||||
|
||||
### Stappen
|
||||
|
||||
|
|
@ -29,11 +30,13 @@ npm install
|
|||
|
||||
# 3. Configureer omgevingsvariabelen
|
||||
cp .env.example .env.local
|
||||
# Bewerk .env.local en vul SESSION_SECRET in:
|
||||
# openssl rand -base64 32
|
||||
# Vul de volgende waarden in .env.local:
|
||||
# DATABASE_URL — Neon pooled connection string
|
||||
# DIRECT_URL — Neon direct connection string
|
||||
# SESSION_SECRET — genereer met: openssl rand -base64 32
|
||||
|
||||
# 4. Database initialiseren (SQLite lokaal)
|
||||
npx prisma db push
|
||||
# 4. Database schema aanmaken en migraties uitvoeren
|
||||
npx prisma migrate deploy
|
||||
|
||||
# 5. Testdata inladen
|
||||
npx prisma db seed
|
||||
|
|
@ -52,8 +55,8 @@ Open [http://localhost:3000](http://localhost:3000).
|
|||
|
||||
| Variabele | Beschrijving |
|
||||
|---|---|
|
||||
| `DATABASE_URL` | SQLite: `file:./dev.db` · PostgreSQL: zie Neon-sectie |
|
||||
| `DIRECT_URL` | Alleen bij PostgreSQL met connection pooling (Neon) |
|
||||
| `DATABASE_URL` | Neon pooled connection string |
|
||||
| `DIRECT_URL` | Neon direct connection string (voor migraties) |
|
||||
| `SESSION_SECRET` | Minimaal 32 tekens — genereer met `openssl rand -base64 32` |
|
||||
|
||||
---
|
||||
|
|
@ -215,7 +218,7 @@ Scrum4Me integreert met [Claude Code](https://claude.ai/claude-code) via de REST
|
|||
| `npm run lint` | ESLint |
|
||||
| `npm test` | Beveiligingstests uitvoeren |
|
||||
| `npx tsc --noEmit` | TypeScript-check |
|
||||
| `npx prisma db push` | Database schema synchroniseren |
|
||||
| `npx prisma migrate deploy` | Migraties uitvoeren |
|
||||
| `npx prisma db seed` | Testdata inladen |
|
||||
|
||||
---
|
||||
|
|
@ -228,7 +231,7 @@ Scrum4Me integreert met [Claude Code](https://claude.ai/claude-code) via de REST
|
|||
- **Zustand** (client state)
|
||||
- **dnd-kit** (drag-and-drop)
|
||||
- **Prisma v7** (ORM)
|
||||
- **PostgreSQL** (Neon) / **SQLite** (lokaal)
|
||||
- **PostgreSQL** via **Neon** (zowel lokaal als productie)
|
||||
- **iron-session** (auth)
|
||||
- **Sonner** (toasts)
|
||||
- **Zod** (validatie)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue