You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Copy environment template
cp .env.example .env
# Edit .env with your values
nano .env
2️⃣ Run with Docker (Recommended)
# Start full stack (Backend + PostgreSQL + Redis)
docker compose up --build -d
# Check status
docker compose ps
# View logs
docker compose logs -f outfitlab-backend
3️⃣ Test API
# Health check
curl http://localhost:8080/actuator/health
# Test endpoint
curl http://localhost:8080/api/users/1
🔧 Configuration
Environment Variables
Variable
Description
Default
Example
POSTGRES_DB
Database name
outfitlab
outfitlab
POSTGRES_USER
App database user
-
outfitlab_user
POSTGRES_PASSWORD
App database password
-
secure_pass_123
SPRING_SECURITY_USER
Admin username
admin
admin
SPRING_SECURITY_PASSWORD
Admin password
-
secure_admin_pass
Spring Profiles
default: Local development (no database)
docker: Docker environment (full stack)
📊 Architecture
📤 Upload 2D Image → 🤖 AI/3D Processing → 📦 3D Model → ☁️ Storage → 🌐 API → 💻 Frontend
🛠️ Development
Local Development (without Docker)
# Run with mock data
./mvnw spring-boot:run
# Access: http://localhost:8080
Docker Development
# Rebuild after code changes
docker compose up --build
# View specific service logs
docker compose logs outfitlab-backend
# Reset everything
docker compose down -v
docker compose up --build