Skip to content
/ flask-vercel-template Public template

Use this template repo to quickly create Flask apps hosted on vercel

Notifications You must be signed in to change notification settings

ajpl/flask-vercel-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Flask Vercel Template

Template repo for creating flask apps on Vercel (previously Now).
This repo contains minimal boilerplate to get your application going.

Example endpoints

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}

More info

Vercel Docs
Vercel Python Runtime

About

Use this template repo to quickly create Flask apps hosted on vercel

Topics

Resources

Stars

Watchers

Forks

Languages