im trying to create an INCREDIBLY simple backend for a web app im trying to build, and i cannot figure out how to correctly host it here on Vercel.
i think i just dont understand vercel.json. i have one single python script inside of my api folder, and in the root folder i have my requirements.txt and my .db file. ive tried many different configurations, similar to seen below. ill either get errors saying something like "Function Runtimes must have a valid version, for example now-php@1.0.0."
or when i try other configurations, i just cant access the database at all.
{ "version": 2, "builds": [ { "src": "api/app.py", "use": "/python" } ], "routes": [ { "src": "/api/(.*)", "dest": "api/app.py" } ] }
My python script and database work perfectly on my localhost. please help!
