Phase 2
Base app architecture:
Route groups for customer, staff and owner.
* Reusable design system with around 20 UI components.
* Complete Prisma schema.
* Authentication with email/password and Google.
* Role and permission model.
* Protected routes.
* Clean separation between features, services, components and shared utilities.
This commit is contained in:
201 files changed
+31984
No files matched your search
@@ -0,0 +1,13 @@
|
||||
# Database (PostgreSQL). Prisma schema avoids Postgres-only features so this
|
||||
# can be pointed at MySQL later with a provider change + `prisma migrate`.
|
||||
DATABASE_URL="postgresql://user:password@localhost:5432/nextchair?schema=public"
|
||||
|
||||
# Auth.js (NextAuth v5). Generate with: npx auth secret
|
||||
AUTH_SECRET="replace-me-with-a-32-byte-random-string"
|
||||
|
||||
# Google OAuth — https://console.cloud.google.com/apis/credentials
|
||||
AUTH_GOOGLE_ID=""
|
||||
AUTH_GOOGLE_SECRET=""
|
||||
|
||||
# Base URL of the app (used for callback URLs, email links, etc.)
|
||||
NEXT_PUBLIC_APP_URL="http://localhost:3000"
|
||||
Reference in new issue
Block a user