Giveth / giv-supply-function

1 stars 0 forks source link

Feat/refactor - BE ABLE TO HOST IT OURSELVES #7

Closed mhmdksh closed 3 months ago

mhmdksh commented 3 months ago

This PR did a major refactor to how the code runs, it did the below:

  1. Removed the dependency to deploy this on AWS Lambda and make it a necessary provider, which in turn will save us a lot of money hosting this endpoint
  2. Made the application run as a standalone instance while including both Coinmarketcap and Coingecko criteria accessible from different endpoint paths: giv-supply-cg & giv-supply-cmc
  3. Created a Dockerized version of this endpoint that can be hosted anywhere
  4. Updated the packages needed to run this app (reduced the package dependency)