REPOSITORY OVERVIEWLive repository statistics
★ 114Stars
⑂ 37Forks
◯ 3Open issues
◉ 114Watchers
69/100
OPENREPOHUB HEALTH SIGNALHealthy signals
A transparent discovery signal based on current public GitHub metadata.
Recent activity35% weight
90 Community adoption25% weight
41 Maintenance state20% weight
85 License clarity10% weight
0 Project information10% weight
100 This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
README preview
RESTful API with Python, FastAPI, Pydantic, and MongoDB
1. API with Python, FastAPI, and MongoDB: JWT Authentication
This article will teach you how to add JSON Web Token (JWT) authentication to your FastAPI app using PyMongo, Pydantic, FastAPI JWT Auth package, and Docker-compose.

Topics Covered
- How to Setup FastAPI with MongoDB
- Starting the FastAPI Server
- Set up Environment Variables with Pydantic
- Connect to the MongoDB Database
- Creating the Schemas with Pydantic
- Create Serializers for the MongoDB BSON Documents
- Password Management in FastAPI
- Creating Utility Functions to Sign and Verify JWTs
- Creating the Authentication Controllers in FastAPI
- User Registration Handler
- User Sign-in Handler
- Refresh Access Token Handler
- Sign out User Handler
- How to Protect Private Routes
- Creating a User Handler
- Adding the API Routes and CORS
- Testing the API with Postman
Read the entire article here: https://codevoweb.com/api-with-python-fastapi-and-mongodb-jwt-authentication
2. Build API with Python & FastAPI: SignUp User and Verify Email
This article will teach you how to send HTML Emails with Python, FastAPI, PyMongo, MongoDB, Jinja2, and Docker. Also, you will learn how to use Jinja2 to generate different HTML templates.

Topics Covered
- Send HTML Emails with Jinja2 & FastAPI Example
- Creating the SMTP Provider Account
- Edit the Environment Variables File
- Validating the Environment Variables with Pydantic
- Creating the HTML Email Templates in FastAPI
- Creating the SMTP Email Sender
- Sending the HTML Emails in FastAPI
- Update the SignUp Controller
- Create a Handler to Validate the Verification Code
Read the entire article here: https://codevoweb.com/api-with-python-fastapi-signup-user-and-verify-email
ALGORITHMICALLY RELATEDSimilar Open-Source Projects
Selected from shared topics, language and repository description—not editorial ratings.
This article will teach you how to create a CRUD RESTful API with Python, FastAPI, SQLAlchemy ORM, Pydantic, Alembic, PostgreSQL, and Docker-compose to perform the basic Create/Read/Update/Delete operations against a database.
68/100 healthRecently updatedActive repositoryHas homepage
PythonNo license#fastapi#fastapi-crud#fastapi-sqlalchemy#postgresql
⑂ 25 forks◯ 1 issuesUpdated 21 days ago
Project homepage ↗