Skip to content

A REST API to send HTTP request, deployed using Docker.

Notifications You must be signed in to change notification settings

kmponis/api-client-restapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

API CLIENT REST API

A REST API to send HTTP request, deployed using Docker.

Prerequisites:

  • Download and install docker and docker-compose
  • Download and move to 'api-client-restapi'
    $ git clone https://github.com/kmponis/api-client-restapi.git

Deploy with docker-compose


$ docker-compose up

Test URL and Code Coverage (100%)


$ open http://<docker_ip_address>:9991/swagger-ui.html
$ open api-client/target/jacoco-reports/index.html

(Optional) Build, deploy and upload using Dockerfile-noDC

  • Move to 'api-client', Build and Deploy
    $ cd api-client
    $ docker build -t apiclientimage -f Dockerfile-noDC .
    $ docker run -p 9991:8882 apiclientimage
  • Upload to dockerhub for external use
    $ docker tag apiclientimage kbonis/api-client-image:latest
    $ docker login
    $ docker push kbonis/api-client-image:latest

Releases

No releases published

Packages

No packages published