1
0
Files
KotlinApiDemo/.env.example
T

24 lines
2.0 KiB
Bash

# ════════════════════════════════════════════════════════════════════════════════
# Environment Configuration Template
# ════════════════════════════════════════════════════════════════════════════════
# Copy this file to .env and fill in your actual values
# .env is gitignored and will not be committed to version control
# ════════════════════════════════════════════════════════════════════════════════
# Database Configuration
# ════════════════════════════════════════════════════════════════════════════════
# MongoDB connection string
# Default: mongodb://localhost:27017/kotlin-api
MONGODB_URI=mongodb://localhost:27017/kotlin-api
# ════════════════════════════════════════════════════════════════════════════════
# JWT Security Configuration
# ════════════════════════════════════════════════════════════════════════════════
# REQUIRED: Generate a secure base64-encoded secret for JWT token signing
# MUST be base64-encoded (your code uses Decoders.BASE64.decode)
#
# Generate a secure base64-encoded secret (single line, no newlines):
# openssl rand -base64 64 | tr -d '\n'
#
JWT_SECRET=your-base64-encoded-secret-here