Auth multi-rôles (NextAuth) — sur base schéma propre #6

Merged
tarzzan merged 3 commits from feat/auth into main 2026-05-29 21:26:33 +00:00
Owner

Authentification multi-rôles récupérée et rebasée sur main (avec le schéma Prisma déjà mergé).

  • NextAuth + role guards + pages protégées (src/auth.ts, lib/authorization.ts, [...nextauth])
  • deps: next-auth, bcryptjs, pg, @prisma/adapter-pg

2e étape du MVP séquentiel (après le schéma).

Authentification multi-rôles récupérée et rebasée sur main (avec le schéma Prisma déjà mergé). - NextAuth + role guards + pages protégées (src/auth.ts, lib/authorization.ts, [...nextauth]) - deps: next-auth, bcryptjs, pg, @prisma/adapter-pg 2e étape du MVP séquentiel (après le schéma).
tarzzan added 3 commits 2026-05-29 21:21:27 +00:00
Initialise le projet Karbé :
- Next.js 16 (App Router, TypeScript) + Tailwind CSS v4 + ESLint
- Prisma avec datasource PostgreSQL, schema minimal et client généré
  dans src/generated/prisma (postinstall: prisma generate)
- Page d'accueil placeholder (titre + mission)
- .env.example (DATABASE_URL, NEXTAUTH_SECRET)
- README avec instructions de setup

Co-Authored-By: Paperclip <noreply@paperclip.ing>
Co-Authored-By: Paperclip <noreply@paperclip.ing>
tarzzan merged commit 4f0b434f70 into main 2026-05-29 21:26:33 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tarzzan/karbe#6
No description provided.