nsidnev /
fastapi-realworld-example-app
Backend logic implementation for https://github.com/gothinkster/realworld with awesome FastAPI
35/100 healthLoading repository data…
Ritesh-Kumar-Mandal / repository
Python FastAPI implementation for creating a basic CRUD API with JWT authentication. It also provides API access based on role (User|Admin). This app also includes the implementation of two factor authentication, which allows users to login with a one-time pin rather than a password.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This repository uses FastAPI for creating APIs and many other python libraries such as:- SqlAlchemy Python sql database library to maintain the CRUD operation data. Jose is used for encrypting the login using JSON Web Tokens(JWT) and sign-in using algorithms. Passlib is used for hashing and verifying a hashed password. FastapiMail is used for sending the mail for reseting the password. PyOTP is used for generating and verifying one-time passwords.
To access the Swagger UI for the application, click on the URL. https://crudfastapi.herokuapp.com/docs
To generate the QR Code from the Base64 text(data) goto:- https://codebeautify.org/base64-to-image-converter
git clone https://github.com/Ritesh-Kumar-Mandal/Auth.git
cd Auth
py -m venv venv
source venv/Scripts/activate
pip3 install -r requirements.txt
uvicorn main:app --reload
You can obtain the login token by entering your username (AS Email) and password, or if 2FA is enabled, your username and a one-time pin generated by the Authenticator app.
If you are a new user you can register yourself using the Register API.
In addition, if you are a current user who has forgotten your password, you can use the Forgot and Reset Password feature to generate a new password by receiving an email at your registered email address.
Admin users have more CRUD control than regular users, for example, Admin can change or update any User information.
Users have less CRUD control than administrators. The current user can view, change or update his or her own information, which is stored in the database.
After entering the correct login credentials, the user will receive a JSON Web Token that will be valid for an hour or until the user logs out.
Contains a method for checking the user role, which controls the user's access level, i.e. a normal user is not permitted to perform admin level actions.
After entering the necessary information, a user who has not yet enabled 2FA can do so by obtaining the QR (Base64 encrypted text as data) and registering in any Authenticator app such as Microsoft Authenticator, Google Authenticator, or any other.

Use Google Authenticator or Microsoft Authenticator or any other Authenticator app to scan QR code and generate TOTP.
After registering with the QR code, enter the One Time Pin to successfully activate the 2FA.
Selected from shared topics, language and repository description—not editorial ratings.
nsidnev /
Backend logic implementation for https://github.com/gothinkster/realworld with awesome FastAPI
35/100 healthunum-cloud /
Web Serving and Remote Procedure Calls at 50x lower latency and 70x higher bandwidth than FastAPI, implementing JSON-RPC & REST over io_uring ☎️
86/100 healthvibber-ai /
Easy and secure implementation of Azure Entra ID (previously AD) for your FastAPI APIs 🔒 B2C, single- and multi-tenant support.
mixmoe /
一个实现了多种常用站点的易用化API的程序 / A program that implements easy-to-use APIs for a variety of commonly used sites.
33/100 healthc0sogi /
A full-stack Webui implementation of Large Language model, such as ChatGPT or LLaMA.
78/100 healthManiMozaffar /
A playwright bot which is implemented to scrape linkedin and store advertisement data in a database and telegram channel
71/100 health