- Remove OtpGateGuard from transactions controller (OTP verified at login) - Fix categories controller to use authenticated user instead of TEMP_USER_ID - Add comprehensive implementation plan document - Update .env.example with WEB_APP_URL - Prepare for admin dashboard development
23 lines
861 B
Plaintext
23 lines
861 B
Plaintext
# Database Configuration
|
|
DATABASE_URL="postgresql://user:password@localhost:5432/tabungin?schema=public"
|
|
DATABASE_URL_SHADOW="postgresql://user:password@localhost:5432/tabungin_shadow?schema=public"
|
|
|
|
# JWT Authentication (generate a random 32+ character string for production)
|
|
JWT_SECRET=your-super-secret-jwt-key-change-this-in-production
|
|
|
|
# Exchange Rate API
|
|
EXCHANGE_RATE_URL=https://api.exchangerate-api.com/v4/latest/IDR
|
|
|
|
# Google OAuth (for "Continue with Google")
|
|
GOOGLE_CLIENT_ID=your-google-client-id
|
|
GOOGLE_CLIENT_SECRET=your-google-client-secret
|
|
GOOGLE_CALLBACK_URL=http://localhost:3001/api/auth/google/callback
|
|
|
|
# OTP Webhook URLs (n8n)
|
|
OTP_SEND_WEBHOOK_URL=https://your-n8n-instance.com/webhook/send-otp
|
|
OTP_SEND_WEBHOOK_URL_TEST=https://your-n8n-instance.com/webhook-test/send-otp
|
|
|
|
# App Configuration
|
|
PORT=3001
|
|
WEB_APP_URL=http://localhost:5174
|