Gateway for Ubademy
It handles and routes requests to different microservices.
For further information visit Ubademy Gateway
Deployed at: ubademy--gateway 🚀
├── main.py
├── app
│ ├── caller
│ │ ├── caller.py
│ │ ├── multi_service_caller.py
│ │ └── service_caller.py
│ └── router
│ ├── router.py
│ └── router_exception.py
└── tests
Once you have installed these tools, make will take care of the rest 😌
make install
make build
docker run -p 8000:8000 --env MICROSERVICES=<microservices_dict> GOOD_HEADERS=<good_headers_list>
Where:
- <microservices_dict> is a dictionary like: '{"service":"service_url"}'
- <good_headers_list> is a list like: '["good_header"]'
make checks
Once the API is running you can check all available endpoints at http://127.0.0.1:8000/docs#/