Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.14 KB

README.md

File metadata and controls

48 lines (31 loc) · 1.14 KB

Spring Boot MVC Application

Build Status

Thymeleaf template is filled at startup by document entities stored in mongodb database configured by application properties.

Following dependencies are used:

Application

  • Web
  • MongoDB
  • Lombok
  • Thymeleaf

Metrics

Development

  • Devtools

Swagger

Use Docker Compose for creating Spring Boot Application with MongoDB

In parent folder make creates two docker container named

  • mongomvc (Spring Boot MVC Application)

  • mongodb (MongoDB)

and run tests afterwards.

Attach to mongodb container:

$ docker exec -it mongodb bash 

and execute queries:

$ mongo # Starts mongo client
$ use custom # Change database
$ db.persons.find() # Execute query