FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

eddyizm/HTMX_FastAPI_Login: HTMX and FastAPI login demo using JWT · GitHub

Repository files navigation

HTMX_FastAPI_Login

HTMX and FastAPI login demo.

youtube video coming soon.

Should I dockerize it?

Please let me know if you would like to see a dockerfile added.

Start by setting up your virtual environment and activating it.

# create virtual env
python -m venv env

# activate virtual env (linux)
source env/bin/activate

# activate virtual env (windows)
source env/Scripts/activate

Upgrade pip because for some reason this is still a thing.

python -m pip install --upgrade pip

Then install the FastAPI and required libraries.
note you can just install the requirements.txt

pip install -r requirements.txt

launch server

uvicorn main:app --reload

and open in browser

About

HTMX and FastAPI login demo using JWT

Topics

Resources

Stars

62 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages


Back | FazBrowse Home | New Git URL