https://github.com/kmponis/api-client-restapi
A REST API to send HTTP request, deployed using Docker.
https://github.com/kmponis/api-client-restapi
docker docker-compose integration-tests jersey okhttp3 spring-boot swagger-ui
Last synced: 3 months ago
JSON representation
A REST API to send HTTP request, deployed using Docker.
- Host: GitHub
- URL: https://github.com/kmponis/api-client-restapi
- Owner: kmponis
- Created: 2019-10-22T22:05:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-14T17:43:26.000Z (about 3 years ago)
- Last Synced: 2025-01-27T13:48:08.583Z (over 1 year ago)
- Topics: docker, docker-compose, integration-tests, jersey, okhttp3, spring-boot, swagger-ui
- Language: Java
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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://: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`