Blog.

Python FastApi

Cover Image for Python FastApi
Alex Woon
Alex Woon

The backend for the Kaaryar project, developed using Python and FastAPI, serves as the core of an online learning platform tailored for a college environment. It facilitates key functionalities such as student registration, management of forms, preliminary assessments, and enrollment into courses and classes. Additionally, the backend tracks and manages the teaching assignments for various courses.

This project is built upon the foundation of an open-source Moodle course setup, but we've taken a modern approach by leveraging Python and FastAPI to create a robust API. Alembic is utilized for SQL version control, ensuring that database migrations are seamless and well-managed. Pydantic plays a crucial role in type checking our models, which enhances the overall reliability and maintainability of the codebase.

As this project is purely backend-focused, we've ensured comprehensive API documentation through Swagger, which allows developers to easily visualize and interact with each API route. This setup not only streamlines development but also ensures that the platform remains scalable and easy to integrate with other systems in the future.

Kaaryar Backend Swagger Document here