Skip to content

Latest commit

 

History

History
46 lines (40 loc) · 792 Bytes

README.md

File metadata and controls

46 lines (40 loc) · 792 Bytes

FastApi base

Prerequistes

  • Python
    • Debian/Ubuntu
      apt install python3
    • MacOS
      brew install python@3
  • Virtualenv
    pip3 install virtualenv

Install steps

  1. Create virtualenv
    virtualenv -p python3 env
  2. Activate virtualenv
    source env/bin/activate
  3. Install the requirements from requirements.txt
    pip3 install -r requirements.txt

Usage

  • Start up application
    python src/main.py
  • Open documentation
    # Follow the URL for OpenApi documentation
    http://0.0.0.0:8000/docs#/
    # you can try also with ReDoc documentation
    http://0.0.0.0:8000/redoc