Learn and play with Spring Framework using Spring Boot and MongoDB
Topics covered:
- Spring CommandLineRunner
- Spring Data (Implicit API Export, Search, Sorting, Paging)
- Spring MVC (REST Controllers)
- Spring with NoSQL databases
- Spring and Custom params validation (for nulls, consistency, value bounds)
Implemented based on LinkedIn learning course: Creating Your First Spring Boot Microservice
- Java 13
- Maven
- Spring Boot 2.2.0.RELEASE (data-mongodb, data-rest, web, test)
- Jakarta (validation)
- MongoDB (embedded)
- Lombok
- Run
main()
method in application class. Spring app and embedded MongoDB should be started. - Check output in console for populating embedded DB with init data.
- Use this Postman collection to make REST API calls.