PlataformaEduca is a Spring Boot REST API for educational institutions. This guide walks you through cloning the project, configuring your local database, starting the server, and making your first authenticated API call. The whole process takes under ten minutes.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/miagv/PlataformaEduca/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Java 21
The application targets Java 21. Confirm your version with
java -version.Maven
Maven is bundled via the
mvnw wrapper. Maven 3.8+ is recommended if using a local install.MySQL 8+
A running MySQL 8 instance is required. Create the schema before starting the server.
Set up the project
Configure application.properties
Open
src/main/resources/application.properties and set your database credentials and JWT settings:Start the server
8080. On first startup, the DataInitializer component automatically seeds the database with roles, grade levels, classrooms, sample courses, and the following user accounts:| Password | Role | |
|---|---|---|
| admin@gmail.com | admin123 | ADMIN |
| coord@gmail.com | coord123 | COORDINADOR |
| profe@gmail.com | profe123 | DOCENTE |
| alumno@gmail.com | alumno123 | ESTUDIANTE |
Make your first API call
With the server running, authenticate with the seeded coordinator account and then retrieve the list of courses.Log in and obtain a token
token.
Call GET /api/cursos
Explore the API
Swagger UI is available athttp://localhost:8080/swagger-ui.html once the server is running. It lists all available endpoints, their required roles, and lets you execute requests directly in the browser after pasting your token.
Authentication
Learn how to register new users, obtain tokens, and handle token expiry.
Configuration
Full reference for
application.properties and deployment options.