mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-08-26 16:40:40 +03:00
update README.md
This commit is contained in:
parent
515d5fafa0
commit
c77bd2a11c
15
README.md
15
README.md
@ -131,19 +131,9 @@ Below steps were done to integrate [rich](https://github.com/Textualize/rich) in
|
||||
|
||||
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
||||
|
||||
### Setup User Auth :lock: :key:
|
||||
|
||||
Setup user authentication with JWT and Redis as token storage
|
||||
Generate Fernet key for storing password in db
|
||||
```python
|
||||
In [1]: from cryptography.fernet import Fernet
|
||||
|
||||
In [2]: Fernet.generate_key()
|
||||
Out[2]: b'Ms1HSn513x0_4WWFBQ3hYPDGAHpKH_pIseC5WwqyO7M='
|
||||
|
||||
```
|
||||
Save the key in .secrets as FERNET_KEY
|
||||
### Setup User Auth
|
||||
|
||||
Setup user authentication with JWT and Redis as token storage.
|
||||
|
||||
### Local development with poetry
|
||||
|
||||
@ -176,6 +166,7 @@ Use this space to list resources you find helpful and would like to give credit
|
||||
- **[APR 28 2023]** Rainbow logs with rich :rainbow:
|
||||
- **[JUL 7 2023]** migrate to pydantic 2.0 :fast_forward:
|
||||
- **[JUL 25 2023]** add user authentication with JWT and Redis as token storage :lock: :key:
|
||||
- **[SEP 2 2023]** add passlib and bcrypt for password hashing :lock: :key:
|
||||
|
||||
<p align="right">(<a href="#readme-top">back to top</a>)</p>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user