The fastest way to run Módulo Horario is with Docker Compose, which starts all four backend services and both databases in a single command. If you prefer to run services directly with Python, see the manual setup section below.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Luisanchez0/modulo_Horario/llms.txt
Use this file to discover all available pages before exploring further.
- Docker (recommended)
- Manual setup (without Docker)
Generate secrets
Run the setup script to create The script writes three secrets to
services/.env with secure, randomly generated values:services/.env:| Variable | Purpose |
|---|---|
JWT_SECRET | Signs and verifies all JWT tokens (HS256) |
ADMIN_CREATION_KEY | Required to register the first admin account |
INTERNAL_API_KEY | Authenticates inter-service HTTP calls via the X-Internal-Key header |
Start the backend services
Verify service health
In a new terminal, check that all services are responding:Expected response:You can check the other three services on ports 8002, 8003, and 8004 — each returns
{"status": "ok"}.Start the frontend
In a separate terminal, from the project root:Vite starts the development server at http://localhost:5173.
Log in
Open http://localhost:5173 in your browser and sign in with the development credentials:
- Email:
[email protected] - Password:
1234
These credentials are for local development only. Before deploying to any shared or production environment, rotate all secrets by re-running
bash setup-secrets.sh and updating your deployment configuration. See the Security guide for details.Generate your first schedule
Once logged in:
- Navigate to Horarios in the sidebar.
- Create an academic period (for example, “Semester 2026-1”).
- Add teachers in Docentes, subjects in Materias, and classrooms in Aulas.
- Return to Horarios and click Generate to let the algorithm build a conflict-free timetable.
- View the result in the Calendar tab or export it to PDF.