source: jobvista-backend/src/main/resources/application.properties@ 4d97b63

main
Last change on this file since 4d97b63 was 4d97b63, checked in by 223021 <daniel.ilievski.2@…>, 3 months ago

Implemented Google login, additional file uploads, response messages and email notifications

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[d8b6c91]1spring.application.name=jobvista-backend
2
3spring.datasource.driver-class-name=org.postgresql.Driver
[4d97b63]4spring.datasource.url=${db_url}
5spring.datasource.username=${db_username}
6spring.datasource.password=${db_password}
[d8b6c91]7
[28b3398]8#spring.jpa.hibernate.ddl-auto=create-drop
9spring.jpa.hibernate.ddl-auto=update
[d8b6c91]10spring.jpa.show-sql=true
11
12spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
[28b3398]13
[4d97b63]14file.upload-dir=${file_upload_dir}
[28b3398]15
16spring.servlet.multipart.enabled=true
17spring.servlet.multipart.max-file-size=2MB
18spring.servlet.multipart.max-request-size=2MB
[4d97b63]19
20spring.security.oauth2.client.registration.google.client-id=${google_id}
21spring.security.oauth2.client.registration.google.client-secret=${google_secret}
22spring.security.oauth2.client.registration.google.scope=profile, email
23spring.security.oauth2.client.registration.google.redirect-uri=http://localhost:3000/login/oauth2/code/google
24spring.security.oauth2.client.provider.google.authorization-uri=https://accounts.google.com/o/oauth2/auth
25spring.security.oauth2.client.provider.google.token-uri=https://oauth2.googleapis.com/token
26spring.security.oauth2.client.provider.google.user-info-uri=https://www.googleapis.com/oauth2/v3/userinfo
27spring.security.oauth2.client.provider.google.user-name-attribute=sub
28
29spring.mail.host=smtp.gmail.com
30spring.mail.port=587
31spring.mail.username=${mail_username}
32spring.mail.password=${mail_password}
33custom.mail.sender.email=${mail_sender_email}
34custom.mail.sender.name=${mail_sender_name}
35spring.mail.properties.mail.smtp.auth=true
36spring.mail.properties.mail.smtp.starttls.enable=true
37
38
Note: See TracBrowser for help on using the repository browser.