Skip to content
tejasecPublic

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI

FastAPI is a modern, high-performance Python web framework for building APIs quickly and efficiently.

FastAPI Features

  • Fast — One of the fastest Python frameworks available, on par with NodeJS and Go
  • Easy — Designed to be simple to use and learn
  • Automatic Docs — Generates interactive API documentation automatically at /docs
  • Type Safe — Built on Python type hints for cleaner, more reliable code

Requirements

  • Python 3.7+
  • fastapi
  • uvicorn

Installation

pip install fastapi uvicornbuild, deploy, and launch

Quick Start

from fastapi import FastAPI

app = FastAPI()

@app.get("/")
def read_root():
    return {"message": "Hello, World!"}

Run the Server

uvicorn main:app --reload

Then open your browser at http://127.0.0.1:8000

Auto-Generated Docs

URL Description
/docs Interactive Swagger UI
/redoc ReDoc documentation

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages