- Complete web-based STL file storage and 3D viewer - Express.js backend with SQLite database - Interactive Three.js 3D viewer with orbit controls - File upload with drag-and-drop support - Security features: rate limiting, input validation, helmet - Container deployment with Docker/Podman - Production-ready configuration management - Comprehensive logging and monitoring 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
472 B
Plaintext
27 lines
472 B
Plaintext
# STL Storage Application Configuration
|
|
|
|
# Server Configuration
|
|
PORT=3000
|
|
NODE_ENV=production
|
|
HOST=0.0.0.0
|
|
|
|
# Database Configuration
|
|
DB_PATH=./stl_storage.db
|
|
UPLOAD_DIR=./uploads
|
|
|
|
# File Upload Limits
|
|
MAX_FILE_SIZE=104857600
|
|
MAX_FILES_PER_REQUEST=5
|
|
ALLOWED_EXTENSIONS=.stl,.STL
|
|
|
|
# Rate Limiting
|
|
RATE_LIMIT_WINDOW_MS=900000
|
|
RATE_LIMIT_MAX_REQUESTS=100
|
|
|
|
# Security
|
|
SESSION_SECRET=your-secret-key-change-this
|
|
BCRYPT_ROUNDS=12
|
|
|
|
# Logging
|
|
LOG_LEVEL=info
|
|
LOG_FILE=./logs/app.log |