Front | Back |
---|---|
-- ⛵ -- | -- 🙈 -- |
Sprint boot modules :
- Spring Web
- Spring Data JPA
- Spring Security
- PostgreSQL Driver
allow to use custom username/password
- create file
application-dev.properties
inside src/main/resources - add customised credential for database
exemple
spring.datasource.username=postgres
spring.datasource.password=password
- open JDM setting :
- properties > Run/Debug Setting > New
- inside
Arguments tab
add-Dspring.profiles.active=dev
insideVM arguments
- develop2 : test with Spring Security