Previously, our question service was exposed, allowing anyone to use the endpoints. The API gateway provides automatic authentication, as well as provides ingress capabilities.
Currently does not provide load balancing capabilities. Intention is for load balancing to be done by k8s.
Testing instructions
Add in API_GATEWAY_PORT value to .env. Note that whatever port you set here will determine how you access the pages.
docker compose up --build.
Go to localhost:$API_GATEWAY_PORT to access frontend.
Play around with backend endpoints through frontend.
Play around with backend endpoints through preferred requester, port is always $API_GATEWAY_PORT.
Resolves #14, #19, #20, #24
Overview
Previously, our question service was exposed, allowing anyone to use the endpoints. The API gateway provides automatic authentication, as well as provides ingress capabilities.
Currently does not provide load balancing capabilities. Intention is for load balancing to be done by k8s.
Testing instructions
API_GATEWAY_PORT
value to.env
. Note that whatever port you set here will determine how you access the pages.localhost:$API_GATEWAY_PORT
to access frontend.