Skip to content

Python-Taiwan/python-api-vercel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python api server run on vercel

To have your account on https://vercel.com/ first.

debug on localhost

vercel dev

瀏覽 http://localhost:3000

deploy

vercel

以下 demo 網址 (python-api.ming-taiwan.vercel.app) 是我部署的 URL, 你們部署回有你們新的 URL

demo hello

curl https://python-api.ming-taiwan.vercel.app/api/hello

click here

demo date

curl https://python-api.ming-taiwan.vercel.app/api/date

click here

demo star

curl https://python-api.ming-taiwan.vercel.app/api/star

click here

你們部署的 URL 會在執行 vercel 時, 得到 (如下圖)

when you run "vercel" it will show your endpoint of the api server

production

vercel --prod

click here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 63.2%
  • HTML 36.8%