Skip to content

FIPost/api-gateway

Repository files navigation

ipost-logo

API Gateway

Build Release Board Status

API Gateway for communication between the frontend and backend. Abstracts calls into user-friendly endpoints and adds a secure entrypoint layer on top of the individual microservices.

Getting Started

Docker

Run the gateway.

This uses appsettings.Docker.json.

docker-compose up --build

Run the other services.

# /pakketservice/
docker-compose up --build 
# /locatieservice/
docker-compose up --build 
# /personeel-service/
docker-compose up --build 

Error: Docker Network Missing

If you get the following error: Network ipost-network declared as external, but could not be found. Run the following:

docker network create ipost-network

Debug the gateway.

Step 1

Run the gateway with Visual Studio or the .NET CLI.

This uses appsettings.Development.json.

Step 2

Run the other services in Docker.

# /pakketservice/
docker-compose up --build 
# /locatieservice/
docker-compose up --build 
# /personeel-service/
docker-compose up --build