fix architecture and write new tests
This commit is contained in:
@@ -13,8 +13,8 @@ POSTGRES_HOST=postgres
|
||||
POSTGRES_PORT=5432
|
||||
POSTGRES_DB=rentaldrivego
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD=change-me
|
||||
DATABASE_URL=postgresql://postgres:change-me@postgres:5432/rentaldrivego
|
||||
POSTGRES_PASSWORD=placeholder
|
||||
DATABASE_URL=postgresql://placeholder:placeholder@placeholder:5432/placeholder
|
||||
|
||||
# Cache
|
||||
REDIS_URL=redis://redis:6379
|
||||
@@ -38,7 +38,7 @@ ADMIN_URL=https://example.com/admin
|
||||
CORS_ORIGINS=https://example.com,https://www.example.com
|
||||
|
||||
# Auth
|
||||
JWT_SECRET=replace-with-a-long-random-secret
|
||||
JWT_SECRET=placeholder
|
||||
JWT_EXPIRY=8h
|
||||
RENTER_JWT_EXPIRY=7d
|
||||
NODE_ENV=production
|
||||
@@ -57,7 +57,7 @@ MAIL_HOST=smtp.gmail.com
|
||||
MAIL_PORT=587
|
||||
MAIL_SCHEME=smtp
|
||||
MAIL_USERNAME=your-smtp-user@example.com
|
||||
MAIL_PASSWORD=replace-with-an-app-password
|
||||
MAIL_PASSWORD=placeholder
|
||||
MAIL_FROM_ADDRESS=noreply@example.com
|
||||
MAIL_FROM_NAME=RentalDriveGo
|
||||
MAIL_REPLY_TO_ADDRESS=support@example.com
|
||||
|
||||
Reference in New Issue
Block a user