Javis OS
Javis OS is an Agentic AI that assists entrepreneurs in business tasks, helping them grow their work.
AI translation
Sistema de gestión de pasajeros y habitaciones del Hotel Duerme Bien (Django) — Ingeniería de Software, INACAP
Translation pending
BusinessPython · HTMLGitHub @Fernandamv96OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Prototipo de la Unidad 3 de Ingeniería de Software (INACAP): un sistema para que un hotel registre habitaciones, asigne pasajeros, calcule el costo de la estadía y consulte reportes de ocupación.
Hay dos roles, con un panel propio cada uno (RN-01):
| Rol | Puede |
|---|---|
| Administrador | Gestionar usuarios, revisar la auditoría de acciones y ver el panel general |
| Encargado de hotel | Gestionar habitaciones, asignar uno o varios pasajeros, registrar salidas y consultar reportes |
Nombre;RUT; el RUT se valida con su dígito verificador.Las reglas de negocio (RN-01 a RN-10) viven en hotel/reglas.py como funciones puras, sin depender de Django, para probarlas de forma aislada.
X-Frame-Options: DENY y HSTS en producción; CSRF y autoescape de plantillas activos./admin.SECRET_KEY, DATABASE_URL y las claves de los usuarios demo se leen de variables de entorno. En producción, sin SECRET_KEY la app no arranca.| Capa | Tecnología |
|---|---|
| Backend | Python 3.12 + Django 6 (WhiteNoise para estáticos) |
| Base de datos | SQLite en desarrollo y PostgreSQL en producción (dj-database-url + psycopg 3) |
| Tests | pytest + pytest-django (52 pruebas) |
| Despliegue | Vercel, runtime de Python (api/index.py) |
python -m venv .venv
.venv\Scripts\activate # Windows (en macOS/Linux: source .venv/bin/activate)
pip install -r requirements-dev.txt
python manage.py migrate
python manage.py seed_demo # crea los usuarios "admin" y "encargado"
python manage.py runserver # http://127.0.0.1:8000
seed_demo usa las claves de DEMO_ADMIN_PASSWORD y DEMO_ENCARGADO_PASSWORD. Si no las defines, genera claves al azar y las muestra en la consola. Las variables disponibles están en .env.example.
pytest # pruebas unitarias y de integración