Subjects (materias) and classrooms (aulas) are managed in two separate catalog microservices: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.
materias-service and aulas-service. Both catalogs feed directly into the schedule generator — when you trigger automatic generation, the system reads from both services to find all available subjects and classrooms.
Subjects
A subject represents a course that needs to be placed on the schedule. Each subject has the following fields:| Field | Required | Description |
|---|---|---|
nombre | Yes | Name of the subject, e.g. “Base de Datos”. |
codigo | Yes | Short course code, e.g. “BD101”. Displayed in the schedule table. |
creditos | Yes | Number of credits. Must be greater than zero. |
turno | Yes | Shift preference: MATUTINO, VESPERTINO, or AMBOS. The generator uses this when matching subjects to available time slots. |
descripcion | No | Optional free-text description of the subject content. |
Adding a subject from the UI
Navigate to the Materias page
Open the Materias section from the main menu. You must be logged in as ADMIN to see the creation form.
Fill in the subject fields
Enter the name, code, and number of credits. Select the shift that matches when this subject should be taught. Optionally add a description.
Adding a subject via the API
Classrooms
A classroom is a physical space where a subject can be taught. Each classroom has two fields:| Field | Required | Description |
|---|---|---|
nombre | Yes | Name or identifier of the classroom, e.g. “Aula A1” or “Laboratorio B2”. |
capacidad | Yes | Maximum number of students. Must be at least 1. Shown in the schedule table next to the classroom name. |
Adding a classroom from the UI
Navigate to the Aulas page
Open the Aulas section from the main menu. You must be logged in as ADMIN to see the creation form.
Adding a classroom via the API
How catalogs connect to schedule generation
When you trigger automatic generation, the schedule generator queries bothmaterias-service and aulas-service to fetch the records you selected (or all records if you didn’t specify IDs). It then attempts to assign every subject to a valid teacher-classroom-slot combination. Neither service stores schedule data — they only maintain the catalog records.