An open API service indexing awesome lists of open source software.

https://github.com/Describly/fastapi-auth-custom

This repository has a tutorial code FastAPI auth.
https://github.com/Describly/fastapi-auth-custom

Last synced: 4 months ago
JSON representation

This repository has a tutorial code FastAPI auth.

Awesome Lists containing this project

README

        

# FastAPI Auth Custom Code

### Video Tutorial
[Click here](https://youtu.be/z3nwf7wGdUw)

### 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