-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.test
More file actions
55 lines (48 loc) · 1.46 KB
/
Copy path.env.test
File metadata and controls
55 lines (48 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
NODE_ENV=test
PORT=3001
# Separate test database — wiped and recreated on every e2e test run
DB_HOST=localhost
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_NAME=food_delivery_test
REDIS_HOST=localhost
REDIS_PORT=6379
# Short-lived test secrets (not real secrets)
JWT_SECRET=test-jwt-secret-at-least-32-characters-long-here
JWT_ACCESS_TOKEN_EXPIRATION=15m
JWT_REFRESH_TOKEN_SECRET=test-refresh-secret-at-least-32-chars-here
JWT_REFRESH_TOKEN_EXPIRATION=7d
STORAGE_PROVIDER=local
MAX_FILE_SIZE=5242880
# Stub providers — no real emails/SMS sent during tests
DEFAULT_EMAIL_PROVIDER=stub
DEFAULT_SMS_PROVIDER=stub
# Stub payment keys
PAYSTACK_SECRET_KEY=sk_test_stub
STRIPE_SECRET_KEY=sk_test_stub
FLUTTERWAVE_SECRET_KEY=FLWSECK_TEST-stub
# AWS stubs (required by config validation, not called in tests)
AWS_REGION=us-east-1
AWS_ACCESS_KEY_ID=stub
AWS_SECRET_ACCESS_KEY=stub
AWS_S3_BUCKET=stub
AWS_S3_PUBLIC_URL=https://stub.s3.amazonaws.com
CLOUDINARY_CLOUD_NAME=stub
CLOUDINARY_API_KEY=stub
CLOUDINARY_API_SECRET=stub
DO_SPACES_ENDPOINT=stub.digitaloceanspaces.com
DO_SPACES_REGION=nyc3
DO_SPACES_ACCESS_KEY_ID=stub
DO_SPACES_SECRET_ACCESS_KEY=stub
DO_SPACES_BUCKET=stub
DO_SPACES_PUBLIC_URL=https://stub.digitaloceanspaces.com
AWS_SES_FROM_EMAIL=test@test.com
AWS_SES_FROM_NAME=Test
SENDGRID_API_KEY=SG.stub
SENDGRID_FROM_EMAIL=test@test.com
SENDGRID_FROM_NAME=Test
AWS_SNS_SENDER_ID=TestApp
TWILIO_ACCOUNT_SID=ACstub
TWILIO_AUTH_TOKEN=stub
TWILIO_PHONE_NUMBER=+10000000000