Skip to content

Backend Overview

The backend follows a layered architecture:

  • API Layer: Handles HTTP requests and responses
  • Service Layer: Contains business logic
  • Data Layer: Interacts with the database

API Endpoints

Here are the Flask blueprints that expose our REST endpoints. Use the TOC to navigate to any specific route.

all_blueprints = [lesson_bp, quiz_bp, audio_bp] module-attribute

audio_bp = Blueprint('audio', __name__) module-attribute

lesson_bp = Blueprint('lesson', __name__, url_prefix='/lesson') module-attribute

quiz_bp = Blueprint('quiz', __name__, url_prefix='/quiz') module-attribute