Skip to content

rajansahu713/FastAPI-Projects

Repository files navigation

FastAPI Projects

This repository contains various FastAPI projects showcasing different functionalities and use cases.

Overview

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.

Projects

  1. 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.

  2. 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.

  3. Fastapi with Middleware: Who to leaverage the Middleware in FastAPI.

  4. FastAPI with Python Logging: It is a important for every project to have a logging facility. FastAPI provides a simple and powerful logging facility.

  5. 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.

  6. 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.

  7. 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.

  8. 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).

  9. 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.

  10. JWT Authentication In FastAPI:

Instructions

Follow the project-specific instructions provided in the README.md file within each project directory.

Contributing

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.