system-pri/backend/app/api.py

14 lines
533 B
Python

from flask import Blueprint
from .coordinator.routes import bp as coordinator_bp
from .project_supervisor.routes import bp as project_supervisor_bp
from .students.routes import bp as students_bp
from .examination_schedule.routes import bp as examination_schedules_bp
api_bp = Blueprint('api', __name__, url_prefix='/api')
# register blueprints here
api_bp.register_blueprint(coordinator_bp)
api_bp.register_blueprint(project_supervisor_bp)
api_bp.register_blueprint(students_bp)
api_bp.register_blueprint(examination_schedules_bp)