Ideas
- Use Spring Initializr
- Do not put business logic into your controllers
- Use Spring Boot Actuator
- Use JUnit5
- ~~Use AssertJ~~
- Use
@Beanfor object construction - Put
@Beans into@Configurationclasses - Use
@Servicefor services - Use
@Autowiredin integration tests @Services should be stateless.- Use Testcontainers. Do not use
H2. - Use Hoverfly.
Hi @helpermethod !
Thanks for sharing your knowledge through that repo. I believe it should be fed with more content in order to help others developers.
I would like to contribute to the project. Can I help you?
Thanks
Hi @gabriel-rcpereira!
I've started this repo with the intention to make this the ultimate Spring Boot guide but got carried away by other things.
I sometimes think about revisiting this project because I think such a resource can provide a lot of value.
Contributions are welcome, if you have any ideas just raise a PR!
Great! I'm able to move on following your list.
Thanks!
Hi @helpermethod !
I opened a new PR when you have time take look at it, please.
In order to keep our list up to date:
- Use Spring Initializr
- ~Do not put business logic into your controllers~
- Use Spring Boot Actuator
- Use JUnit5
- ~Use AssertJ~
- Use
@Beanfor object construction- Put
@Beans into@Configurationclasses- Use
@Servicefor services- Use
@Autowiredin integration tests@Services should be stateless.- Use Testcontainers. Do not use
H2.- Use Hoverfly.
Thanks in advance!
Hi @gabriel-rcpereira, I hope to review your PR this weekend!