Simple pre-config project for FastAPI
Steps to run the backend locally:
- Install Python 3.7.x
- 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"
- Run the following commands:
poetry shell poetry install poetry run task hooks