Work done in IntellijIDEA
$ mysql --version
mysql Ver 15.1 Distrib 10.7.3-MariaDB, for Linux (x86_64) using readline 5.1
$ mysql -u root -p
MariaDB> create database neurotriumph;
MariaDB> create database neurotriumph_test;
MariaDB> exit;
Replace all values between <>.
# Custom Application Configuration
app.secret=abc123
app.lobby_spent_time=30000
app.chat_messaging_delay=5000
app.required_number_of_messages_to_make_a_choice=10
# Database Configuration
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
spring.datasource.url=jdbc:mariadb://localhost:3306/neurotriumph?autoReconnect=true
spring.datasource.username=<DATABASE_USER>
spring.datasource.password=<DATABASE_USER_PASSWORD>
# Hibernate Configuration
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDB103Dialect
# Spring Server Configuration
server.port=8000
server.error.include-message=always
server.servlet.context-path=/api/v1
Replace all values between <>.
# Custom Application Configuration
app.secret=abc123
app.lobby_spent_time=0
app.chat_messaging_delay=0
app.required_number_of_messages_to_make_a_choice=0
# Database Configuration
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
spring.datasource.url=jdbc:mariadb://localhost:3306/neurotriumph_test?autoReconnect=true
spring.datasource.username=<DATABASE_USER>
spring.datasource.password=<DATABASE_USER_PASSWORD>
# Hibernate Configuration
spring.jpa.hibernate.ddl-auto=create-drop
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDB103Dialect
# Spring Server Configuration
server.port=8000
server.error.include-message=always
server.servlet.context-path=/api/v1