32 lines
766 B
Plaintext
32 lines
766 B
Plaintext
# Server Configuration
|
|
PORT=5000
|
|
NODE_ENV=development
|
|
|
|
# Database Configuration
|
|
DATABASE_URL=mongodb://localhost:27017/moms-web
|
|
# or for PostgreSQL: postgresql://user:password@localhost:5432/moms-web
|
|
|
|
# JWT Configuration
|
|
JWT_SECRET=your_super_secret_jwt_key_change_this
|
|
JWT_EXPIRE=7d
|
|
|
|
# Email Configuration
|
|
SMTP_HOST=smtp.gmail.com
|
|
SMTP_PORT=587
|
|
SMTP_USER=your_email@gmail.com
|
|
SMTP_PASS=your_app_password
|
|
SMTP_FROM=noreply@moms-web.com
|
|
|
|
# Payment Gateway (Stripe)
|
|
STRIPE_SECRET_KEY=sk_test_your_stripe_secret_key
|
|
STRIPE_PUBLIC_KEY=pk_test_your_stripe_public_key
|
|
|
|
# Payment Gateway (PayPal)
|
|
PAYPAL_MODE=sandbox
|
|
PAYPAL_CLIENT_ID=your_paypal_client_id
|
|
PAYPAL_SECRET=your_paypal_secret
|
|
|
|
# API Configuration
|
|
API_URL=http://localhost:5000
|
|
CLIENT_URL=http://localhost:3000
|