Skip to content

gblush/apisample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Spring Boot API Sample

This application requires Gradle and Java 11 to be installed on the host machine. If you're installing Java for the first time, please ensure that all PATH variables are set appropriately before continuing.

This application can easily be run by executing one of the two following commands:

Windows

./gradlew.bat build bootRun

OSX / Linux:

./gradlew build bootRun

The test case task will execute as part of the build task but they can also be run seperately through the following command:

Windows

./gradlew.bat test

OSX/Linux

./gradlew test

Additional Information

The application exposes the following endpoints:

Note: When performing a GET against the price endpoint, please ensure that all values are HTML encoded.

A file named rates.json in the resources/static folder contains the initial data loaded into the repository upon application initialization. Updates to this file will be reflected upon restarting the application.

This application utilizes the Spring framework with SpringBoot and SpringData providing core functionality. Upon running the gradle commands above, all required dependencies will be downloaded.

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely:

Additional Links

These additional references should also help you:

About

Spring Boot Based Simple API Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages