Skip to content

MPucknat/API_Test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API_Test

Usage

  • The server listens on port 8282
  • The client listens on port 8080
  • both projects have a swagger ui on the root endpoint

Example post request to the client:

{
  "method": "amount",
  "number": 1000
}

Other possible values for method:

Method Description
nothing Returns a random beer
amount Returns the amount of beer
id Returns a beer with that id

Project setup

Run with Docker

First, you need to build the project with maven:

mvn clean install -P api_test

Then just run the docker-compose:

docker-compose up -d

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published