# active virtual environment
python -m venv .venv
source .venv/bin/activate
# install dependencies (FastAPI)
pip install -e .
# run server
uvicorn demo.app:app --reload
- Run server using uvicorn
- Go to http://127.0.0.1:8000/docs
- Try the
/users/me
endpoint out, access is denied. - Click padlock next to
/users/me
and log in with usernamefoo
with passwordbar
. - Try the
/users/me
endpoint out, access is now granted!