Skip to content

ugmurthy/deta-hello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deta-hello

Simple Hello world API using FastAPI hosted on deta

There are 5 endpoints

  1. / or root - shows this as an html page

  2. /hello returns hello world as a json object

  3. /items returns an array of json objects which are items

  4. item/?item_id=P004 returs a an array of items matching item_id

  5. /env returns the environment variables set in deta.json as a json object

To deploy it to a deta micro push Deploy

About

Simple Hello world using FastAPI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published