This repository contains various FastAPI projects showcasing different functionalities and use cases.
This collection of projects demonstrates the versatility and capabilities of FastAPI, a modern, fast (high-performance), web framework for building APIs with Python 3.7+ based on standard Python type hints. Each project focuses on a specific feature or use case, providing practical examples and implementations using FastAPI.
-
Role Base Resource Access Management: A FastAPI application for role-based access control (RBAC) to manage resources, providing endpoints for user authentication, authorization, and resource management with dynamic configuration.
-
CRUD Operation With SQLAlchemy: A FastAPI application for performing CRUD (Create, Read, Update, Delete) operations using SQLAlchemy as the ORM (Object-Relational Mapping) tool, showcasing full database interaction capabilities.
-
Fastapi with Middleware: Who to leaverage the Middleware in FastAPI.
-
FastAPI with Python Logging: It is a important for every project to have a logging facility. FastAPI provides a simple and powerful logging facility.
-
Pytest Testing With FastAPI: A FastAPI project showcasing how to use Pytest for testing. Testing is essential to ensure the reliability and correctness of your application. This project demonstrates how to write unit and integration tests for FastAPI endpoints.
-
Schedule Your Job with Apscheduler: Learn how to schedule jobs using APScheduler with FastAPI. APScheduler is a library that allows you to schedule tasks to be executed at specific times or intervals. This project demonstrates how to integrate APScheduler with FastAPI to run periodic tasks.
-
Pagination with FastAPI: Implement pagination in FastAPI to handle large datasets efficiently. Pagination is essential for applications dealing with a significant amount of data, enabling you to load data in chunks. This project demonstrates how to add pagination to your FastAPI endpoints.
-
Resource Access Management: A FastAPI project to manage resource access. This project explores various methods for controlling access to resources, including role-based access control (RBAC) and attribute-based access control (ABAC).
-
Fastapi Template Rendering: A FastAPI project demonstrating how to render HTML templates using FastAPI. This project shows how to use Jinja2 templates for rendering dynamic HTML content and includes a basic project structure for easy expansion and maintenance.
-
JWT Authentication In FastAPI:
-
FastAPI With MongoDB
-
Caching in FastAPI Applications
-
Fastapi Metadata Configuration
-
FastAPI with Docker
Follow the project-specific instructions provided in the README.md file within each project directory.
Contributions to this repository are welcome. Feel free to open issues for bug reports, feature requests, or suggestions, and submit pull requests to contribute improvements or new projects.