Earn 450 ($4.50)
Contact with offer: Make FLASK API compatible with Deployments (works in dev)
Bounty Description
Problem Description
I’ve been using this API for a while with no issues by simply waking it up on each request: https://replit.com/@trendoscope/Tradingview-Access-Management
So now that Replit has moved to deployments, this no longer works, all requests return 500, although in dev everything works smoothly. I went with Reserved VM as it is an API, but the issue persists with other deployment types too.
I found someone else struggling with the same API when deployed, conclusion being that this is due to Replit DB not supported for deployments: https://ask.replit.com/t/issue-with-deployment-of-flask-api/46647
So in this API the DB is used to store session ID when logging into a website, but now it’s inaccessible for deployments. Due to this, there is no way to use this API currently. A workaround is needed, whether that is another database or somehow access Replit DB in a deployed version.
Bounty amount set is just to get the bounty up, reach out with your offer.