- Add hooks (useAuth, useSubscription, useNotifications) for real API data - Add auth service (login/signup) with password hashing and session support - Replace stub auth with real tRPC calls in login/signup/onboarding pages - Replace mock dashboard data with real API data from hooks - Create service pages: DarkWatch, VoicePrint, SpamShield, HomeTitle, RemoveBrokers, Settings - Update Navbar, TopBar, Sidebar with real user data and correct routes - Add passwordHash field to users schema for credential auth - Fix tests to work with real hooks (mock tRPC/hooks)
17 lines
585 B
Plaintext
17 lines
585 B
Plaintext
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/shieldai"
|
|
|
|
## Clerk Authentication Configuration
|
|
# Get these from https://clerk.com
|
|
CLERK_SECRET_KEY=sk_test_your_clerk_secret_key
|
|
VITE_CLERK_PUBLISHABLE_KEY=pk_test_your_clerk_publishable_key
|
|
|
|
DATABASE_URL=libsql://your-database-url.turso.io
|
|
DATABASE_AUTH_TOKEN=your-turso-auth-token
|
|
|
|
# Stripe (get test keys from https://dashboard.stripe.com/test/apikeys)
|
|
STRIPE_SECRET_KEY="sk_test_..."
|
|
STRIPE_WEBHOOK_SECRET="whsec_..."
|
|
STRIPE_PRICE_BASIC="price_basic"
|
|
STRIPE_PRICE_PLUS="price_plus"
|
|
STRIPE_PRICE_PREMIUM="price_premium"
|