Skip to content

Commit 6a05cf7

Browse files
committed
feat:add .env.example for each services
1 parent 00614b5 commit 6a05cf7

4 files changed

Lines changed: 56 additions & 5 deletions

File tree

apps/core-api/.env.example

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
1-
PORT=5000
2-
REDIS_URL=redis://localhost:6379
3-
RABBIT_URL=amqp://localhost:5672
4-
MEILI_HOST=http://localhost:7700
5-
MONGO_URI=mongodb://localhost:27017/noillin
1+
PORT=5000
2+
REDIS_URL=redis://localhost:6379
3+
RABBIT_URL=amqp://localhost:5672
4+
MEILI_HOST=http://localhost:7700
5+
MEILI_KEY=your_master_key
6+
MONGO_URI=mongodb://localhost:27017/noillin
7+
JWT_ACCESS_SECRET=your_access_secret
8+
JWT_REFRESH_SECRET=your_refresh_secret
9+
10+
# Email
11+
EMAIL_USER=your_email@gmail.com
12+
EMAIL_PASS=your_email_password
13+
14+
# AWS S3
15+
AWS_ACCESS_KEY_ID=your_access_key
16+
AWS_SECRET_ACCESS_KEY=your_secret_key
17+
AWS_REGION=your_region
18+
AWS_BUCKET_NAME=your_bucket_name
19+
20+
# Payments
21+
STRIPE_SECRET_KEY=your_stripe_secret_key
22+
STRIPE_WEBHOOK_SECRET=your_stripe_webhook_secret
23+
STRIPE_MOCK_PAYOUT=true
24+
25+
# Feature Flags
26+
ENABLE_WEB_PUSH=true

apps/realtime/.env.example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
PORT=6001
2+
MONGO_URI=mongodb://localhost:27017/noillin
3+
INTERNAL_SECRET=your_internal_secret
4+
ENABLE_WEB_PUSH=true

apps/web/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,7 @@ yarn-error.log*
3939
# typescript
4040
*.tsbuildinfo
4141
next-env.d.ts
42+
43+
44+
.env.production
45+
.env.development

apps/worker/.env.example

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
MONGO_URI=mongodb://localhost:27017/noillin
2+
REDIS_URL=redis://localhost:6379
3+
RABBIT_URL=amqp://localhost:5672
4+
MEILI_HOST=http://localhost:7700
5+
MEILI_KEY=your_master_key
6+
7+
# Realtime integration
8+
REALTIME_URL=http://localhost:6001
9+
INTERNAL_SECRET=your_internal_secret
10+
11+
# Push Notifications (VAPID)
12+
VAPID_PUBLIC_KEY=your_vapid_public_key
13+
VAPID_PRIVATE_KEY=your_vapid_private_key
14+
VAPID_SUBJECT=mailto:your_email@example.com
15+
16+
# Email
17+
EMAIL_USER=your_email@gmail.com
18+
EMAIL_PASS=your_email_password
19+
ENABLE_EMAIL_NOTIFICATIONS=true
20+
21+
# Feature Flags
22+
ENABLE_WEB_PUSH=true

0 commit comments

Comments
 (0)