Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Latest commit

 

History

History
29 lines (20 loc) · 663 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 663 Bytes

Sample Users service - an example of Spring Boot + REST + Mongo Application

This is just an example of a standalone REST microservice that uses some sample capabilities of

  • Spring Boot
  • Spring Data
  • Spring WEB MVC
  • Bean Validation (JSR-303) integration
  • JCache (JSR-107) integration

Getting Started

To run this project you must first have running locally mongodb database. The easiest way to do it is running the following docker command:

docker run --name users-db-1 -d -p 27017:27017 mongo:3.2.6

then you can just run the application using the following:

gradle bootRun

Enjoy the service ;)

curl localhost:8080/users