Skip to content

s-webber/spring-boot-blackjack

Repository files navigation

Spring Boot Blackjack

Build Status

About

This project has been developed using Spring Boot and Java to provide a RESTful interface for an implementation of the blackjack card game. The application is built using Gradle, tested using JUnit and Mockito, documented using Swagger and Spring REST Docs, and can be monitored using JMX.

Purpose

This project has been developed for the purpose of improving my understanding of how Spring Boot, Java, Swagger and Gradle can be used together to construct RESTful services. It is not the aim of this project to produce a production-ready system. The source code comments contain TODOs that refer to how the system could be improved.

Getting Started

To build this project you will first require Java 17 or higher.

The project can be built and started by using the command:

gradlew bootRun

Once the application is running you can use the Swagger documentation to interact with it by visiting:

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

Note: When prompted for a username and password any value for username will be acceptable and the correct password value will be password

Resources

The API documentation, generated during a gradlew build using Spring REST Docs, will be located at:

build/docs/blackjack-api.html

The test coverage report, generated during a gradlew build using JaCoCo, will be located at:

build/jacoco/test/html/index.html

Here are some links that I found useful during the development of this project:

About

REST web service using Spring Boot and Swagger.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages