Skip to content

A super lightweight REST API template with FastAPI and Uvicorn

Notifications You must be signed in to change notification settings

shahedex/restfastapi

Repository files navigation

fastapi-rest

High-performance Async REST API, in Python. FastAPI + Uvicorn.

Run locally using Poetry

1. Install Poetry

$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
$ poetry --version

2. Install dependencies

$ poetry shell
$ poetry install

3. Run with Poetry with hot-reload

$ poetry run task app

or

3. Run with default Python with debug info

$ python app/main.py

Run with docker

$ docker build -t fastapi-rest .
$ docker run -p 80:80 fastapi-rest

About

A super lightweight REST API template with FastAPI and Uvicorn

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published