Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 975 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 975 Bytes

API Authentication with JWT Tokens

API designed to learn how authenticate a user using OAuth2 system with JWT tokens.

Instalation

  • Download this repository with GIT
git clone https://github.com/mateusvictor/API-Auth-with-JWT-Tokens.git
  • Create a virtual environment in the project directory
python -m venv venv
  • Activate the virtual environment
venv\Scripts\activate.bat
  • Install the project dependencies with pip
pip install -r requirements.txt

Topics learned by doing this project

  • The SQLAlchemy ORM
  • Password hashing using the passlibpackage
  • Basic usage of JWT tokens
  • Better understanting of the FasAPI Dependency Injection system

Resources