Skip to content

CodexploreRepo/fast-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fastAPI

1. Environment Setup

  • Step 1: Create Python Virtual Environment, name env (on MacOS)
python3 -m venv env
  • Step 2: Activate/Deactivate Virtual Environment on the Terminal
source env/bin/activate

#to deactivate
deactivate
  • Step 3: Once the Virtual Enviroment is activated, install packages & dependency
Package Command
Fast API (Not recommended) pip install fastapi[all]
all: to include installing all dependencies along with FastAPI package
Fast API (Production) pip install fastapi uvicorn[standard]
uvicorn to work as the serve
List installed packages pip freeze

2. Tech Stacks

  • Redis database is used as a broker
  • Celery is used to create workers that perform the extraction.

3. HTTP Code

Successful responses

  • 200 HTTP 200 OK success status response code indicates that the request has succeeded
  • 202 HTTP Status 202 indicates that the request has been accepted for processing, but the processing has not been completed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages