https://github.com/colinbut/github-cloud-proxy-app
A "Proxy" application that acts as a "Gateway" to GitHub Jobs REST API
https://github.com/colinbut/github-cloud-proxy-app
docker docker-compose influxdb java java-8 spring spring-boot spring-cloud spring-reactive
Last synced: 3 months ago
JSON representation
A "Proxy" application that acts as a "Gateway" to GitHub Jobs REST API
- Host: GitHub
- URL: https://github.com/colinbut/github-cloud-proxy-app
- Owner: colinbut
- Created: 2020-11-07T09:42:20.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-02-13T21:47:24.000Z (almost 4 years ago)
- Last Synced: 2025-03-27T10:16:43.977Z (10 months ago)
- Topics: docker, docker-compose, influxdb, java, java-8, spring, spring-boot, spring-cloud, spring-reactive
- Language: Java
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gateway Proxy App
In order to use this application you need to have [Java 8](https://www.oracle.com/technetwork/java/javase/overview/java8-2100321.html) installed as well as [Maven](http://maven.apache.org/).
To compile the application
```
mvn clean package
```
To run the application
```bash
KPI_DATABASE_URL=http://influxdb-url KPI_DATABASE_PASSWORD=password KPI_DATABASE_USERNAME=username mvn spring-boot:run
```
To dockerize the application
```bash
docker build -t 'githubcloudproxy:latest' .
```
The image can be found on [dockerhub](https://hub.docker.com/r/colinbut/githubcloudproxy)
To run using docker compose
```bash
docker-compose -f docker-compose.yaml up
```
Then you can use the gateway app proxy functionality
```bash
curl http://localhost:8080/positions.json?page=0
```
You can monitor the service health status with the following endpoint
```bash
curl http://localhost:8080/actuator/health
```
## Author
Colin But