This project uses MegaLinter to lint the codebase. To run the linter, use the following command:
make lint
This command will start a Docker container to run the linter against the codebase.
To execute tests, use the command below:
make test
Google OAuth2 Configuration
- Create an
application-dev.properties
file in thesrc/main/resources
directory. - Copy other configurations from
application.properties
, then add the following configuration to theapplication-dev.properties
file:
spring.security.oauth2.client.registration.google.clientId=your-google-client-id
spring.security.oauth2.client.registration.google.clientSecret=your-google-client-secret
To start the application with the dev
profile, run the following command:
make dev
Alternatively, you can use the following command:
./gradlew bootRun --args='--spring.profiles.active=dev'
This will configure your Spring Boot application to use Google OAuth2 for login during development.