1
0

refactor: implement partial JWT authentication; migrate to reactive spring/mongodb

Signed-off-by: Alan Brault <alan.brault@visus.io>
This commit is contained in:
2026-03-15 11:37:15 -04:00
parent 9f5c48fffc
commit 240964ea1d
34 changed files with 642 additions and 72 deletions
+23
View File
@@ -0,0 +1,23 @@
# ════════════════════════════════════════════════════════════════════════════════
# 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