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
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