# Server .env.* File Format

Please do not add double quotes, single quotes or horizontal spaces while filling out the values in the .env files.

This is how your values should be entered.

KEY1=Value1
KEY2=Value2

# Field Descriptions


# MongoDB Credentials

Environment Variable Description Example Value
VENIQA_MONGODB_DB MongoDB database name VeniqaDB
VENIQA_MONGODB_URL MongoDB connection url mongodb://<user>:<password>@<base_url>:<port>/<db_name>
VENIQA_MONGODB_USER Database user with full access veniqa-dev
VENIQA_MONGODB_PASSWORD Password 1RGjhGTead

# Redis Credentials

Environment Variable Description Example Value
VENIQA_REDIS_HOST - veniqa-cache.redis.cache.windows.net
VENIQA_REDIS_PORT - 6380
VENIQA_REDIS_PASSWORD - AEyEmsndKD
VENIQA_REDIS_DB_NUMBER Recommended value is 0 0

# AWS Credentials

Environment Variable Description
VENIQA_AWS_ACCESS_KEY_ID Programmatic Access Key with S3FullAccess rights. DO NOT USE ROOT USER CREDS
VENIQA_AWS_SECRET_ACCESS_KEY Secret Key

# Payment Services API Keys

Environment Variable Description
VENIQA_STRIPE_API_KEY API Key for Stripe Payment Service
VENIQA_KHALTI_API_KEY Put in NA as value if you have not heard of Khalti before

# Sendgrid API Key

Environment Variable Description
VENIQA_SENDGRID_API_KEY API Key for SendGrid email service

# Nodemailer Connection Details

Leave these fields empty if you have already entered Sendgrid API key above. Nodemailer is not recommended for production.

Environment Variable Description Example Value
VENIQA_NODEMAILER_HOST Service Provider Domain veniqa.com
VENIQA_NODEMAILER_PORT 465 if SSL enabled domain, 587 otherwise 465
VENIQA_NODEMAILER_SECURE true if SSL enabled true or false
VENIQA_NODEMAILER_USER Email address to use info@veniqa.com
VENIQA_NODEMAILER_PASSWORD Password of the email address GPgEYv5un3
VENIQA_NODEMAILER_REJECT_UNAUTHORIZED false if VENIQA_NODEMAILER_SECURE is true, false otherwise false

# Secret Hash Keys

Environment Variable Description Example Value
VENIQA_CRYPTO_SECRET_KEY Secret key used to generate tokens 0FADTgBHzY
VENIQA_SESSION_SECRET_KEY Secret key to generate session tokens Mk9pZ2Adth