Open helpermethod opened 5 years ago
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
@Bean
for object construction- Put
@Bean
s into@Configuration
classes- Use
@Service
for services- Use
@Autowired
in integration tests@Service
s 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!
Use AssertJ@Bean
for object construction@Bean
s into@Configuration
classes@Service
for services@Autowired
in integration tests@Service
s should be stateless.H2
.