Skip to content

Yevhen-Tkachenko-1/Spring-Boot-Demo-Microservice-with-MongoDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring-Boot-Demo-Microservice-with-MongoDB

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

Tech stack

  • Java 13
  • Maven
  • Spring Boot 2.2.0.RELEASE (data-mongodb, data-rest, web, test)
  • Jakarta (validation)
  • MongoDB (embedded)
  • Lombok

Local run

  1. Run main() method in application class. Spring app and embedded MongoDB should be started.
  2. Check output in console for populating embedded DB with init data.
  3. Use this Postman collection to make REST API calls.

About

Learn and play with Spring Framework using Spring Boot and MongoDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages