REST API for BudLib - a library management tool
- JDK version 11.0.11 or above
- Maven version 3.6.3 or above
- MySQL server version 8.0.26 or above
-
Clone the repository on your machine
-
Start the MySQL server on your local machine. If you are accessing the MySQL server over a network, edit the property
spring.datasource.urlin the fileapplication.propertiesand replacelocalhostwith the server IP address. -
Connect to your MySQL server using an admin user like
root. -
Run the below scripts on the MySQL server in the given order using
root. These scripts will create a schemabuddb, a userbudappwith passwordbudpassword, create all necessary tables and load them with some dummy data. -
Running the below command from the repository's root directory will get the backend server running.
$ mvn clean spring-boot:run