Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.11 KB

README.md

File metadata and controls

29 lines (24 loc) · 1.11 KB

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