|
@ -4,8 +4,8 @@ spring.datasource.hikari.maximumPoolSize=5 |
|
|
|
|
|
|
|
|
## PostgreSQL |
|
|
## PostgreSQL |
|
|
spring.datasource.url=jdbc:postgresql://localhost:5432/wpdauth |
|
|
spring.datasource.url=jdbc:postgresql://localhost:5432/wpdauth |
|
|
spring.datasource.username=uwpdauth |
|
|
|
|
|
spring.datasource.password=<password> |
|
|
|
|
|
|
|
|
spring.datasource.username=username |
|
|
|
|
|
spring.datasource.password=password |
|
|
|
|
|
|
|
|
spring.jpa.hibernate.ddl-auto=none |
|
|
spring.jpa.hibernate.ddl-auto=none |
|
|
|
|
|
|
|
@ -15,7 +15,14 @@ security.jwt.token.secret-key=secret-key |
|
|
##5 minutes duration by default: 5 minutes * 60 seconds * 1000 miliseconds |
|
|
##5 minutes duration by default: 5 minutes * 60 seconds * 1000 miliseconds |
|
|
security.jwt.token.expire-length=300000 |
|
|
security.jwt.token.expire-length=300000 |
|
|
|
|
|
|
|
|
UsersController.signin=Authenticates user and returns its JWT token. |
|
|
|
|
|
|
|
|
spring.mail.host=smtp.gmail.com |
|
|
|
|
|
spring.mail.port=587 |
|
|
|
|
|
spring.mail.username=username@gmail.com |
|
|
|
|
|
spring.mail.password=password |
|
|
|
|
|
spring.mail.properties.mail.smtp.auth=true |
|
|
|
|
|
spring.mail.properties.mail.smtp.starttls.enable=true |
|
|
|
|
|
|
|
|
|
|
|
UsersController.login=Authenticates user and returns its JWT token. |
|
|
UsersController.signup=Creates user and returns its JWT token. |
|
|
UsersController.signup=Creates user and returns its JWT token. |
|
|
UsersController.delete=Deletes specific user by username. |
|
|
UsersController.delete=Deletes specific user by username. |
|
|
UsersController.search=Returns specific user by username. |
|
|
UsersController.search=Returns specific user by username. |
|
|