Template repo for creating flask apps on Vercel (previously Now).
This repo contains minimal boilerplate to get your application going.
You can start the dev server by running vercel dev
on the root of the repo. Then you can try to hit the following endpoints:
$ curl -H "Content-Type: application/json" -d '{"name": "ajpl"}' -X POST http://localhost:3000/
{"hello":"ajpl"}
$ curl -H "Content-Type: application/json" -d '{"x": 23, "y": 21}' -X POST http://localhost:3000/add
{"result":44}