Welcome to Working examples with Vercel Functions
Javascript - Basic API Example →
Available at /api/js/basic
Javascript - demonstrate using file system →
You can read from files in the _files directory.
Javascript - parameters example →
Pass parameters to an API endpoint. What fun!
Python - Basic API Example →
Available at /api/python/basic
Python - parameters example →
Shows how you can pass parameters to an API endpoint. What fun!
Python - requests example →
Use this to lookup github user details by setting the username param.
Python - WSGI example using Flask →
This was somewhat more complicated. You have to create an /api/index.py but you can do all your routing here quite nicely. This example shows only 1 route, however, based on a cool example by Juan Olvera foundhere
[More Information]
... that you can shake a stick at
Vercel Official Docs - general →
Supports Python, Node.js, Ruby, and Golang. There are even more community Runtimes, too!
Vercel Official Docs - important Python details →
Unofficial Readme from this redo →
More details, gotchas, and caveats.
More Immdom Fun →
General catalogue and such. The fun starts here!