/OnyxFxAPI

A RESTful web service built in Java/Spring Boot designed to complement OnyxFX, handling the requests of the OnyxFX JavaFX application.

Primary LanguageJavaGNU General Public License v2.0GPL-2.0

OnyxFXAPI

Gradle source code repository for OnyxFxAPI, a RESTful API written in Java with Spring Boot. This project doubled as an demonstration of the Java10 HTTP APIS for my blog post, http://bit.ly/XXXXXXXXX. If invalid input is entered the API will return values of "-1" for each endpoint. Built and tested on SUSE Linux. Hosted @ https://onyxfx-api.herokuapp.com/nbaBasicStatBean .

Platform

  • Any platform supporting a Java Virtual Machine/Apache Tomcat.

Requirements

  • Gradle 4.7
  • Java 10+

Endpoints

  • GET /nbaBasicStatBean

Request Parameters

  • firstName: First name of the NBA® Player.
  • surname: Last name of the NBA® Player.
  • season: Year the player played.

Gradle Tasks

  • ./gradlew build - Build Executable Jar.
  • ./gradlew bootRun - Run Spring Boot Application.

Known Problems

  • None (05/21/2018).
  • Several. There is plenty of work to be done on this (05/21/2018).

Execution Screenshot

Example of "GET /nbaBasicStatBean?firstName="Michael"&surname="Jordan"&season=1988 " alt text

Example of "GET /nbaBasicStatBean " alt text