Skip to content
This repository has been archived by the owner on Jul 12, 2021. It is now read-only.
/ books Public archive

Simple demo on how to build a REST API with Spring Boot

Notifications You must be signed in to change notification settings

marre/books

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Books

Build Status

Simple demo on how to build a REST API with Spring Boot

Features:

  • Spring Boot 2.1
    • Spring Data Mongo
    • Spring Validation
  • mongo-java-server with "in memory storage"
  • Swagger

Things to investigate further:

  • Cleanup swagger:
    • References unused HTTP status codes
    • Example for authors
  • Search for mutiple fields (author + title)
  • CORS
  • Logging
  • Async controller
  • Security (spring-boot-starter-security)
  • Metrics (actuator, or dropwizard metrics)
  • Deploy to heroku (or something else)
  • Coverage (coveralls, codecov?)
  • Fongo for dev, Mongo for prod

To run: mvn spring-boot:run

Swagger UI : http://localhost:8080/swagger-ui.html

About

Simple demo on how to build a REST API with Spring Boot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages