- Add 35 branded HTML email templates with Nxtgauge styling - Create email template engine with base template system - Add email management API for admin panel - Wire email triggers from all services - All services compile successfully
70 lines
3.2 KiB
Text
70 lines
3.2 KiB
Text
# Nxtgauge Backend — Environment Variables
|
|
# Copy this file to .env and fill in the values.
|
|
|
|
# ── Database ─────────────────────────────────────────────────────────────────
|
|
POSTGRES_PASSWORD=nxtgauge_dev
|
|
DATABASE_URL=postgresql://nxtgauge:nxtgauge_dev@localhost:5432/nxtgauge_db
|
|
|
|
# ── Auth ──────────────────────────────────────────────────────────────────────
|
|
# Generate with: openssl rand -base64 64
|
|
JWT_SECRET=change-me-to-a-secure-random-string-of-at-least-64-chars
|
|
JWT_EXPIRY_MINUTES=15
|
|
REFRESH_TOKEN_EXPIRY_DAYS=30
|
|
|
|
# ── SMTP (ZeptoMail/Zoho) ──────────────────────────────────────────────────
|
|
SMTP_HOST=smtp.zeptomail.in
|
|
SMTP_PORT=587
|
|
SMTP_USER=emailapikey
|
|
SMTP_PASS=replace-with-your-smtp-password
|
|
SMTP_FROM_EMAIL=support@nxtgauge.com
|
|
SMTP_FROM_NAME=NXTGAUGE
|
|
|
|
# ── Object Storage (Backblaze B2 S3-Compatible) ─────────────────────────────
|
|
B2_BUCKET_NAME=Nxtgauge-object
|
|
B2_REGION=eu-central-003
|
|
B2_ENDPOINT=https://s3.eu-central-003.backblazeb2.com
|
|
B2_ACCESS_KEY_ID=replace-with-b2-key-id
|
|
B2_SECRET_ACCESS_KEY=replace-with-b2-secret
|
|
B2_USE_PATH_STYLE=true
|
|
|
|
|
|
# ── Payments ──────────────────────────────────────────────────────────────────
|
|
RAZORPAY_KEY_ID=rzp_test_...
|
|
RAZORPAY_KEY_SECRET=...
|
|
|
|
# ── Frontend ──────────────────────────────────────────────────────────────────
|
|
FRONTEND_URL=http://localhost:9201
|
|
ADMIN_URL=http://localhost:9202
|
|
|
|
# ── Service Ports (local development, for running services individually) ──────
|
|
GATEWAY_PORT=9100
|
|
USERS_PORT=9101
|
|
COMPANIES_PORT=9102
|
|
JOB_SEEKERS_PORT=9104
|
|
CUSTOMERS_PORT=9105
|
|
PHOTOGRAPHERS_PORT=9107
|
|
MAKEUP_ARTISTS_PORT=9109
|
|
TUTORS_PORT=9108
|
|
DEVELOPERS_PORT=9110
|
|
VIDEO_EDITORS_PORT=9111
|
|
GRAPHIC_DESIGNERS_PORT=9112
|
|
SOCIAL_MEDIA_MANAGERS_PORT=9113
|
|
FITNESS_TRAINERS_PORT=9114
|
|
CATERING_SERVICES_PORT=9115
|
|
PAYMENTS_PORT=9116
|
|
|
|
# ── Service URLs (used by gateway — override only for non-Docker dev) ─────────
|
|
USERS_SERVICE_URL=http://localhost:9101
|
|
COMPANIES_SERVICE_URL=http://localhost:9102
|
|
JOB_SEEKERS_SERVICE_URL=http://localhost:9104
|
|
CUSTOMERS_SERVICE_URL=http://localhost:9105
|
|
PHOTOGRAPHERS_SERVICE_URL=http://localhost:9107
|
|
MAKEUP_ARTISTS_SERVICE_URL=http://localhost:9109
|
|
TUTORS_SERVICE_URL=http://localhost:9108
|
|
DEVELOPERS_SERVICE_URL=http://localhost:9110
|
|
VIDEO_EDITORS_SERVICE_URL=http://localhost:9111
|
|
GRAPHIC_DESIGNERS_SERVICE_URL=http://localhost:9112
|
|
SOCIAL_MEDIA_MANAGERS_SERVICE_URL=http://localhost:9113
|
|
FITNESS_TRAINERS_SERVICE_URL=http://localhost:9114
|
|
CATERING_SERVICES_SERVICE_URL=http://localhost:9115
|
|
PAYMENTS_SERVICE_URL=http://localhost:9116
|