Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 529 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 529 Bytes

About

This repo goes hand-in-hand with the following blog post

Serve Backend locally

cd api

# setup virtualenv
virtualenv -p python3.10 -v venv
pip install -r requirements.txt

# serve
uvicorn main:app --reload

Serve Frontend locally

cd ui

# install dependencies
npm run install

# serve
npm run watch

Run FE and BE in hot-reload mode

npm run watch --prefix ui & uvicorn api/main:app --reload && fg