first commit - MVE Incrementables Parser microservice with FastAPI, JWT, Celery, Redis

This commit is contained in:
Ernesto Herrera
2026-03-02 21:31:50 -07:00
commit 068d859f42
27 changed files with 2337 additions and 0 deletions

21
.env.example Normal file
View File

@@ -0,0 +1,21 @@
# Authentication
AUTH_USERNAME=admin
# Generate hash: python -c "from passlib.hash import bcrypt; print(bcrypt.hash('your_password'))"
AUTH_PASSWORD_HASH=$2b$12$LQv3c1yqBWVHxkd0LHAkCOYz6TtxMQJqhN8/LewY5GyYqwMzYXhHO
JWT_SECRET=your-secret-key-change-this-in-production
JWT_EXPIRES_MINUTES=60
# File Upload
MAX_FILE_MB=10
# Logging
LOG_LEVEL=INFO
# Redis/Celery
REDIS_URL=redis://redis:6379/0
CELERY_BROKER_URL=redis://redis:6379/0
CELERY_RESULT_BACKEND=redis://redis:6379/0
# Service
SERVICE_NAME=mve-incrementables-parser
SERVICE_VERSION=1.0.0