- Created Cargo.toml with all required dependencies - Implemented health/ready endpoints - Added Docker configuration (production + development) - Configured docker-compose with resource limits - Set up MongoDB service with persistence - Verified build (cargo check passed) - Prepared monorepo structure for mobile/web/shared Next: Phase 2.2 (MongoDB connection and models)
8 lines
227 B
Text
8 lines
227 B
Text
RUST_LOG=info
|
|
SERVER_HOST=0.0.0.0
|
|
SERVER_PORT=8000
|
|
MONGODB_URI=mongodb://mongodb:27017
|
|
MONGODB_DATABASE=normogen
|
|
JWT_SECRET=change-this-to-a-random-secret-key
|
|
JWT_ACCESS_TOKEN_EXPIRY_MINUTES=15
|
|
JWT_REFRESH_TOKEN_EXPIRY_DAYS=30
|