pre-commit

Code style: black

security: bandit

myFastAPI

Simple pre-config project for FastAPI

Getting Started

Steps to run the backend locally:

  1. Install Python 3.7.x
  2. Install poetry here
    Linux:
    curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | POETRY_PREVIEW=1 python
    Powershell:
      Invoke-WebRequest -UseBasicParsing https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py -OutFile get-poetry.py
      python .\get-poetry.py --preview
      Remove-Item .\get-poetry.py
      $env:Path += ";$env:USERPROFILE\.poetry\bin"
  3. Run the following commands:
    poetry shell
    poetry install
    poetry run task hooks