/fb-traffic-resolver-demo

A demo that shows a basic workflow with fb-traffic-resolver

Primary LanguageTypeScriptMIT LicenseMIT

🕹️ fb-traffic-resolver-demo

This is a simple demo application that implements a CRUD functionality that is related to users(Create users, Read users, Update users and Delete users). The demo shows basic workflow with fb-traffic-resolver

🧩 Components of the demo

As you can see from Dockerfile, all we have to do is to run API and to move built frontend to the container with resolver (to the root path).

ℹ️ Environment variables of fb traffic resolver

  • ADDRESS_OF_API - as the name suggests it is the environment variable that specifies an address of API. In the demo we're using docker-compose, so it's easy to reference to backend API by the container's name that is declared in docker-compose.yml. In kubernetes it can be service's name instead.
  • PING_API_ON_START - should resolver ping backend API on start or not. Possible values (True/False)
  • RESOLVER_PORT - the port of resolver. In the demo it is port 80

🚀 How to run the demo

Just execute:

make run

to shut down the demo type:

make down