xbmlz / wesure-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚡ A starter example with FastAPI

Clone to local

git clone https://github.com/xbmlz/fastapi-starter.git fastapi-app

cd fastapi-app

Create virtual environment

python -m venv .env

# windows
.\.env\scripts\activate

# macos or linux
source .env/bin/activate

Setup

pip install -r requirements.txt

Development

python -m uvicorn app.main:app --host 0.0.0.0 --reload

Document

FastAPI

About


Languages

Language:Python 42.5%Language:HTML 33.8%Language:JavaScript 22.8%Language:Dockerfile 0.9%