{"repo":"erick9125/Sistema-de-inventario","free":true,"listed":false,"github":"https://github.com/erick9125/Sistema-de-inventario","clone":"git clone https://github.com/erick9125/Sistema-de-inventario.git","description":"Sistema de inventario basado en Python y framework Django, con implementación de CRUD y login con firebase","language":"Python","stars":22,"topics":["bootstrap5","clean-architecture","crud","django","docker","firebase-auth","inventario","inventory-management","pytest","python"],"license":"Unlicense","category":"deployment-docker-iac","readme_excerpt":"Sistema de Inventario Aplicacion web para gestionar inventario de equipos, asignaciones, PDA, telefonos y usuarios. Stack: Django 5.2 , SQLite, Bootstrap 5 (toasts), autenticacion con Firebase Auth (puerto/adaptador), despliegue con Docker . Rama UI: mejora/redisenio-ui-bootstrap --- Requisitos - Python 3.11+ (recomendado 3.12; en Windows usar py ) - Cuenta Firebase con Authentication (Email/Password) - Docker Desktop (opcional) --- Inicio rapido (local) Edita .env con SECRET KEY y variables FIREBASE . Abre http://127.0.0.1:8000/ e inicia sesion con un usuario de Firebase. --- Docker En .env para Docker usa SQLITE PATH=/app/data/db.sqlite3 (o deja que docker-compose lo defina). App en http://localhost:8000/ --- Tests Cubre autenticacion (AuthService + adapter mock), CRUD de servicios, reportes Excel y proteccion de vistas sin sesion. --- Arquitectura (Clean Architecture - opcion A) Flujo de autenticacion: 1. presentation recibe POST de login 2. AuthService orquesta la sesion Django 3. FirebaseAuthAdapter implementa AuthPort (unico lugar con Pyrebase) 4. Errores se traducen a CredencialesInvalidas / AuthNoConfigurado Principios aplicados: - S servicios por agregado (Equipo, Usuario, etc.) - O/D auth y reportes detras de puertos/adaptadores - I repositorios pequenos por entidad - Vistas delgadas; Excel centralizado en ExcelExporter --- Variables de entorno Copia .env.example a .env . Nunca subas .env . Variable Descripcion ---------- ------------- SECRET KEY Clave secreta Djang","default_branch":null,"files":null,"tree":[],"storefront":"/r/erick9125","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/erick9125/Sistema-de-inventario/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}