The purpose of this service is to provide routing capabilities to other services. The API gateway acts as a single entrypoint for multiple services.
After a git clone or download the project the following command must be executed once to initialize the projects.
Windows (CMD/PowerShell)
# Switch to project folder
cd .\prox-api-gateway\
# Execute initial build for git hooks...
.\mvnw.cmd clean testLinux/MacOS (Bash/Terminal)
# Switch to project folder
cd prox-api-gateway/
# Execute initial build for git hooks...
./mvnw clean testExecutes the Maven default lifecycle up to the test phase. During the package phase, an executable JAR and the Docker image are created.
A Docker network named prox is required for the communication between services:
docker network create proxStarts a Docker container based on the compose file and the image.
Powershell
$env:IMAGE='prox-api-gateway'; `
$env:TAG='latest'; `
docker-compose -f ./src/main/docker/docker-compose.yml upBash/Shell
export IMAGE="prox-api-gateway" &&
export TAG="latest" &&
docker-compose -f ./src/main/docker/docker-compose.yml upFor the necessary steps please look in Run/Debug in IntelliJ IDEA.
This service is currently developed by members of the ArchiLab staff:
- Julian Lengelsen (@jlengelsen)
- Rudolf Grauberger (@rudolfgrauberger)