-
Notifications
You must be signed in to change notification settings - Fork 96
Configuring applications.properties File
Chris edited this page Sep 8, 2024
·
1 revision
An example properties file is provided with default values that will work for most programs. The [bold] values in the following lines may need to be updated.
- MySQL: Update the following to match your MySQL installation.
- spring.datasource.username=[root]
- spring.datasource.password=[root]
- JWT: Create an account at jwt.io and follow the getting started guide to create a new applciation. Select "Client Secret (POST)" if available. Copy the "Client Secret" key.
- jwt.secret=[your-secret-key]
- Spring Mail: Update with username and password for the email address the application will use to email users.
- spring.mail.username=[example@gmail.com]
- spring.mail.password=[x88p99qxzmdvgmdu]
- NOTE: If using a Gmail account with 2-Step Verification enabled, you may need to generate an application-specific password. See Sign In With App Passwords - Google Account Help for more information.
- Geolocation API: Create an account at findip.net. Copy the "API Key".
- geo.api.key=[your-api-key]