r-scheele / rego_builder

Write your rego authorization rules from the frontend - Open policy agent
1 stars 1 forks source link

Improvements to the API #28

Closed Youngestdev closed 2 years ago

Youngestdev commented 2 years ago

This PR contains an update to the existing code architecture. There are no breaking changes as only updates, improvements, and code fixes have been done.

Please take a look at the various file changes and commit messages as well.


Significant change

In place of using the default uvicorn, I have introduced the use of gunicorn to enable load balancing and increase the efficiency of the API. This is in a bid to handle multiple requests at one time as the four ( 4 ) workers are setup for the API by gunicorn

An example of what workers are and how they work is explained in this article.

r-scheele commented 2 years ago

Looks good sir