testbed for experiments with fastapi + websockets with a vuejs frontend
run fastapi
uvicorn app.main:app --reload
cd frontend
npm install
npm run dev
build+watch (with output in app/dist
) with localhost setup
npm run watch
build (with output in app/dist
) with production setup
npm run build
deploy:
(cd frontend; npm run build) && fly deploy --local-only