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
|
### Vereisten
|
||||||
- Node.js 20+
|
- Node.js 20+
|
||||||
- npm
|
- npm
|
||||||
|
- Een Neon PostgreSQL database ([neon.tech](https://neon.tech) — gratis tier volstaat)
|
||||||
|
|
||||||
### Stappen
|
### Stappen
|
||||||
|
|
||||||
|
|
@ -29,11 +30,13 @@ npm install
|
||||||
|
|
||||||
# 3. Configureer omgevingsvariabelen
|
# 3. Configureer omgevingsvariabelen
|
||||||
cp .env.example .env.local
|
cp .env.example .env.local
|
||||||
# Bewerk .env.local en vul SESSION_SECRET in:
|
# Vul de volgende waarden in .env.local:
|
||||||
# openssl rand -base64 32
|
# 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)
|
# 4. Database schema aanmaken en migraties uitvoeren
|
||||||
npx prisma db push
|
npx prisma migrate deploy
|
||||||
|
|
||||||
# 5. Testdata inladen
|
# 5. Testdata inladen
|
||||||
npx prisma db seed
|
npx prisma db seed
|
||||||
|
|
@ -52,8 +55,8 @@ Open [http://localhost:3000](http://localhost:3000).
|
||||||
|
|
||||||
| Variabele | Beschrijving |
|
| Variabele | Beschrijving |
|
||||||
|---|---|
|
|---|---|
|
||||||
| `DATABASE_URL` | SQLite: `file:./dev.db` · PostgreSQL: zie Neon-sectie |
|
| `DATABASE_URL` | Neon pooled connection string |
|
||||||
| `DIRECT_URL` | Alleen bij PostgreSQL met connection pooling (Neon) |
|
| `DIRECT_URL` | Neon direct connection string (voor migraties) |
|
||||||
| `SESSION_SECRET` | Minimaal 32 tekens — genereer met `openssl rand -base64 32` |
|
| `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 run lint` | ESLint |
|
||||||
| `npm test` | Beveiligingstests uitvoeren |
|
| `npm test` | Beveiligingstests uitvoeren |
|
||||||
| `npx tsc --noEmit` | TypeScript-check |
|
| `npx tsc --noEmit` | TypeScript-check |
|
||||||
| `npx prisma db push` | Database schema synchroniseren |
|
| `npx prisma migrate deploy` | Migraties uitvoeren |
|
||||||
| `npx prisma db seed` | Testdata inladen |
|
| `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)
|
- **Zustand** (client state)
|
||||||
- **dnd-kit** (drag-and-drop)
|
- **dnd-kit** (drag-and-drop)
|
||||||
- **Prisma v7** (ORM)
|
- **Prisma v7** (ORM)
|
||||||
- **PostgreSQL** (Neon) / **SQLite** (lokaal)
|
- **PostgreSQL** via **Neon** (zowel lokaal als productie)
|
||||||
- **iron-session** (auth)
|
- **iron-session** (auth)
|
||||||
- **Sonner** (toasts)
|
- **Sonner** (toasts)
|
||||||
- **Zod** (validatie)
|
- **Zod** (validatie)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue