Skip to main content

Prerequisites

Before you begin, ensure you have the following installed on your system:
1

Java Development Kit (JDK) 8

The project requires Java 8. Download and install from Oracle or use OpenJDK.Verify installation:
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.
4

Git

For cloning the repository and version control.

IDE Recommendations

Choose one of these IDEs for the best development experience:
  • 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 handlers
  • dto/: Data Transfer Objects for API requests/responses
  • model/: JPA entity classes mapped to database tables
  • security/: Authentication, authorization, and JWT token handling
  • resources/: Configuration files and static assets

Installing Dependencies

Install all project dependencies using Maven Wrapper:
This command will:
  • Download all dependencies specified in pom.xml
  • Compile the source code
  • Run tests
  • Package the application
Use ./mvnw clean install -DskipTests to skip tests during the initial setup for faster installation.

Key Dependencies

The project includes the following major dependencies:

Verifying the Setup

After installation, verify your setup:
If all commands succeed without errors, your development environment is ready!

Next Steps

Configuration

Configure database connections and environment variables

Running Locally

Start the application and test endpoints