system-pri/backend/app/api.py

14 lines
533 B
Python
Raw Normal View History

from flask import Blueprint
from .coordinator.routes import bp as coordinator_bp
2022-06-10 17:53:32 +02:00
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)
2022-06-10 17:53:32 +02:00
api_bp.register_blueprint(project_supervisor_bp)
api_bp.register_blueprint(students_bp)
api_bp.register_blueprint(examination_schedules_bp)