Skip to content

REST api to get and persist fizz buzz results

License

Notifications You must be signed in to change notification settings

Kobe/fizz-buzz-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

verify_main_branch

Fizz Buzz REST API

yet another coding challenge

This a coding challenge to get familiar with Spring Boot and its concepts. Therefore, I've chosen to implement the fizz buzz group word game.

Requirements

  • endpoint to get the fizz buzz result for given (numeric) input value
  • endpoint to get all existing fizz buzz results

Prerequisites

  • JDK 17

tech stack

  • Spring Boot
  • Spring Data
  • H2 in memory database
  • Swagger

Development

clone repository

git clone https://github.com/Kobe/fizz-buzz-service.git
cd fizz-buzz-service

run application

# http://localhost:8080
./mvnw spring-boot:run

test application

./mvnw clean verify

query database

# http://localhost:8080/fizz-buzz/db
# JDBC URL "jdbc:h2:mem:fizzbuzz"
# user "fizz"
# password "buzz"
SELECT * FROM FIZZ_BUZZ_RESULT

License

fizz-buzz-service is licensed under the GPLv3+.

GPLv3