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.
- Host: GitHub
- URL: https://github.com/Describly/fastapi-auth-custom
- Owner: Describly
- Created: 2023-09-09T11:40:04.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-23T15:14:16.000Z (over 1 year ago)
- Last Synced: 2024-08-13T07:07:26.564Z (8 months ago)
- Language: Python
- Size: 23.2 MB
- Stars: 26
- Watchers: 0
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - Describly/fastapi-auth-custom - This repository has a tutorial code FastAPI auth. (Python)
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