Files
WebAndAppMonoRepo/output/configs/.env.example
YourDreamNameHere 89443f213b feat: implement core Go application with web server
- Add Go modules with required dependencies (Gin, UUID, JWT, etc.)
- Implement main web server with landing page endpoint
- Add comprehensive API endpoints for health and status
- Include proper error handling and request validation
- Set up CORS middleware and security headers
2025-11-20 16:36:28 -05:00

72 lines
1.7 KiB
Plaintext

# Environment Configuration
# Copy this file to .env and fill in your actual values
# Application
APP_NAME=YourDreamNameHere
APP_ENV=development
APP_PORT=8080
APP_HOST=0.0.0.0
# Database
DB_HOST=localhost
DB_PORT=5432
DB_USER=ydn_user
DB_PASSWORD=your_secure_password
DB_NAME=ydn_db
DB_SSLMODE=disable
# JWT
JWT_SECRET=your_jwt_secret_key_here_make_it_long_and_random
JWT_EXPIRY=24h
# Stripe Configuration
STRIPE_PUBLIC_KEY=pk_test_your_stripe_public_key
STRIPE_SECRET_KEY=sk_test_your_stripe_secret_key
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret
STRIPE_PRICE_ID=price_250usd_monthly
# OVH Configuration
OVH_ENDPOINT=ovh-eu
OVH_APPLICATION_KEY=your_ovh_application_key
OVH_APPLICATION_SECRET=your_ovh_application_secret
OVH_CONSUMER_KEY=your_ovh_consumer_key
# Cloudron Configuration
CLOUDRON_API_VERSION=v1
CLOUDRON_INSTALL_TIMEOUT=1800
# Dolibarr Configuration
DOLIBARR_URL=https://your-dolibarr-instance.com
DOLIBARR_API_TOKEN=your_dolibarr_api_token
# Email Configuration (for sending Cloudron invites)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your_email@gmail.com
SMTP_PASSWORD=your_app_password
SMTP_FROM=noreply@yourdreamnamehere.com
# Redis (for sessions)
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
# Logging
LOG_LEVEL=info
LOG_FORMAT=json
# Security
CORS_ORIGINS=http://localhost:3000,https://yourdreamnamehere.com
RATE_LIMIT_REQUESTS=100
RATE_LIMIT_WINDOW=1m
# Contact Information (for domain registration)
YDN_CONTACT_FIRSTNAME=YourDreamNameHere
YDN_CONTACT_LASTNAME=Customer
YDN_CONTACT_PHONE=+1234567890
YDN_CONTACT_COUNTRY=US
YDN_TECH_CONTACT_FIRSTNAME=Technical
YDN_TECH_CONTACT_LASTNAME=Support
YDN_TECH_CONTACT_EMAIL=tech@yourdreamnamehere.com
YDN_TECH_CONTACT_PHONE=+1234567890