Repository files navigation
Java 8 JDK
Apache Maven
MySQL Database Server
Windows 10
Make a database schema in your MySQL database server
Navigate to ./src/main/resources/application.properties
Set spring.datasource.url to your JDBC connection string without any URL parameters except the database schema name
E.g. "jdbc:mysql://localhost:3306/myschema"
DO NOT include a username in your JDBC connection string
Set up a database account with the DBA role in your MySQL database
Set spring.datasource.username to the database account username
Set spring.datasource.password to the database account password
Set spring.jpa.properties.hibernate.default_schema to the same database schema name as your JDBC URL
Run mvn clean install spring-boot:run to...
Install all necessary Maven dependencies
Build and run the project
Set up your database schema with the relevant tables and data
Additional Configuration for application.properties
Property
Description
Values
spring.jpa.properties.hibernate.hbm2ddl.auto
Hibernate database generation type.
none, create, create-drop, validate, update
database-populator.create-fake-data
Whether to populate the database with fake data or not
true, false
database-populator.fake-unapproved-accounts-quantity
The amount of fake unapproved accounts to create; only valid if database-populator.create-fake-data=true
Any int
database-populator.fake-available-resources-quantity
The amount of fake available resources to create; only valid if database-populator.create-fake-data=true
Any int
database-populator.fake-loaned-resources-quantity
The amount of fake loaned resources to create; only valid if database-populator.create-fake-data=true
Any int
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.