Prerequisites
Before you begin, ensure you have the following installed on your system:1
Java Development Kit (JDK) 8
2
Maven 3.6+
While the project includes Maven Wrapper, having Maven installed globally is recommended.
The project includes Maven Wrapper (
mvnw and mvnw.cmd), so Maven installation is optional.3
MySQL 8.0+
Install MySQL Server 8.0 or higher for production-like development.
- MySQL Community Server Download
- Alternative: Use H2 in-memory database for quick development (already included)
4
Git
For cloning the repository and version control.
IDE Recommendations
Choose one of these IDEs for the best development experience:IntelliJ IDEA (Recommended)
- Community Edition (free) or Ultimate Edition
- Built-in Spring Boot support
- Excellent Maven integration
- Best Java debugging experience
Eclipse IDE
- Install Spring Tools 4 plugin for Spring Boot support
- Free and open source
- Good Maven integration via M2Eclipse
Visual Studio Code
- Install extensions:
- Spring Boot Extension Pack
- Extension Pack for Java
- Maven for Java
- Lightweight and fast
Cloning the Repository
Clone the EduTec Backend repository to your local machine:Project Structure
The project follows a standard Spring Boot / Maven structure:Key Directories
controller/: REST API endpoints and request handlersdto/: Data Transfer Objects for API requests/responsesmodel/: JPA entity classes mapped to database tablessecurity/: Authentication, authorization, and JWT token handlingresources/: Configuration files and static assets
Installing Dependencies
Install all project dependencies using Maven Wrapper:- Download all dependencies specified in
pom.xml - Compile the source code
- Run tests
- Package the application
Key Dependencies
The project includes the following major dependencies:Verifying the Setup
After installation, verify your setup:Next Steps
Configuration
Configure database connections and environment variables
Running Locally
Start the application and test endpoints