This commit is contained in:
Your Name 2022-02-28 14:10:36 +01:00
parent 49694f4bc0
commit c8d9cd4db8
21 changed files with 764 additions and 29 deletions

View file

@ -1,9 +1,14 @@
#security.jwt.token.secret-key=03888dd6ceb88c3fee410a70802fb93d483fd52d70349d8f7e7581ae346cf658
security.jwt.token.secret-key=simpleat
spring.main.allow-circular-references=true
# pour comprendre le but de cette ligne ci-dessus : https://www.baeldung.com/circular-dependencies-in-spring
# ===============================
# ===============================
# base de données MySQL
# ===============================
spring.datasource.url=jdbc:mysql://localhost:3308/simpleat?useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=CET
spring.datasource.url=jdbc:mysql://localhost:3306/simpleat?useSSL=false&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=CET
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.password=BOHmilaresol02
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
# log
#logging.level.root=INFO
@ -20,4 +25,5 @@ spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5InnoDBDial
# Permet d'exécuter le data.sql
# ===============================
spring.sql.init.mode=always
spring.jpa.defer-datasource-initialization=true
spring.jpa.defer-datasource-initialization=true
server.port=8081