/fastapi-auth-custom

This repository has a tutorial code FastAPI auth.

Primary LanguagePython

FastAPI Auth Custom Code

Video Tutorial

Click here

Info

This project contains the code for creating the below four apis

API Endpoint Description
/users Create new user account
/auth/token Create JWT Token
/auth/refresh-token Refresh JWT Token
/users/me Get Authenticated User Detail

Additional

  • You will learn how to configure mysql in FastAPI
  • You will learn how to add connection pooling in SQLAlchemy
  • You will learn how to configure and get authenticated user form Request