java-tutorials/spring-jenkins-pipeline
eric-martin 3d945c079a Added @DirtiesContext to SpringContextIntegrationTest 2018-11-23 23:41:00 -06:00
..
.mvn/wrapper
src Added @DirtiesContext to SpringContextIntegrationTest 2018-11-23 23:41:00 -06:00
.gitignore
README.md
mvnw
mvnw.cmd
pom.xml BAEL-5246: pom cleanup (#4620) 2018-07-12 09:04:54 +02:00
scripted-pipeline-unix-nonunix

README.md

BASIC CRUD API with Spring Boot

This is the code of a simple API for some CRUD operations build using Spring Boot.

Requirements

  • Maven
  • JDK 8
  • MongoDB

Running

To build and start the server simply type

$ mvn clean install
$ mvn spring-boot:run -Dserver.port=8989

Now with default configurations it will be available at: http://localhost:8080

Enjoy it :)

Relevant articles