Skip to content

Showcase how to serve your Vue assets from Fastapi

Notifications You must be signed in to change notification settings

dimmaski/fastapi-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Showcase how to serve your Vue assets from Fastapi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published