0ndrec / fastapi-jwt

secure a FastAPI app by enabling authentication using JSON Web Tokens (JWTs)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Securing FastAPI with JWT Token-based Authentication

Want to learn how to build this?

Check out the post.

Want to use this project?

  1. Fork/Clone

  2. Create and activate a virtual environment:

    $ python3 -m venv venv && source venv/bin/activate
  3. Install the requirements:

    (venv)$ pip install -r requirements.txt
  4. Run the app:

    (venv)$ python main.py
  5. Test at http://localhost:8081/docs

About

secure a FastAPI app by enabling authentication using JSON Web Tokens (JWTs)

License:MIT License


Languages

Language:Python 100.0%