Skip to content

Add a Java Spring Boot Example #1261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 10, 2023
Merged

Add a Java Spring Boot Example #1261

merged 2 commits into from
Jul 10, 2023

Conversation

Lagoja
Copy link
Contributor

@Lagoja Lagoja commented Jul 8, 2023

Summary

Example that uses Java Spring Boot + MySQL

How was it tested?

devbox install
devbox run setup_db
devbox run runBoot

@Lagoja Lagoja marked this pull request as ready for review July 10, 2023 15:05
spring.jpa.hibernate.ddl-auto=update
spring.datasource.url=jdbc:mysql://${MYSQL_HOST:localhost}:3306/db_example
spring.datasource.username=springuser
spring.datasource.password=password
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: put a comment here to remind people to update this username/password and also exclude it from git tracking for production usecases.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this jar file isn't needed and can be deleted

@Lagoja Lagoja merged commit 5a44d96 into main Jul 10, 2023
@Lagoja Lagoja deleted the jl/spring-example branch July 10, 2023 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants