This project is a Spring Boot REST API using MySQL as the database. The backend is built with Java and Maven as the build tool. It provides RESTful endpoints for [describe the main functionality].
Before running the project, ensure you have the following installed on your system:
- Java 17 or higher - Required to run Spring Boot applications.
- Maven - To build and manage dependencies.
- MySQL - The database used in the project.
git clone [email protected]:ZuebeyirEser/asset-management-backend.git
cd asset-management-backend
- Ensure MySQL is installed and running on your machine.
CREATE DATABASE your_database_name;
- Edit the application.properties or application.yml file (located in src/main/resources/) with your MySQL connection details.
In the root directory of your project, run the following command to download dependencies and build the project:
mvn clean install
After the build is successful, you can run the application with Maven:
mvn spring-boot:run
#for testing
mvn test