restapi
This is a trivial example of a Spring Boot REST API that demonstrates the following:
- Using two different data sources for run vs. unit tests a. Using different configuration for run and test
- Uses liquibase migrations on test data source only
- Use MockMvc to mock out endpoints for testing without spinning up a web server
- Use JPA to access data source regardless of type
- Separate packages based on components
TODO
Add example of unit testing repository