nordabiz/blueprints/api/__init__.py
Maciej Pienczyn eaadef0bc1 refactor: Migrate recommendations API routes to api blueprint
- Created blueprints/api/routes_recommendations.py with 4 routes:
  - /api/recommendations/<company_id> (GET)
  - /api/recommendations/create (POST)
  - /api/recommendations/<rec_id>/edit (POST)
  - /api/recommendations/<rec_id>/delete (POST)
- Removed ~320 lines from app.py (7378 -> 7057)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 17:39:48 +01:00

14 lines
302 B
Python

"""
API Blueprint
==============
Public API routes for analytics tracking and other frontend interactions.
"""
from flask import Blueprint
bp = Blueprint('api', __name__, url_prefix='/api')
from . import routes_analytics # noqa: E402, F401
from . import routes_recommendations # noqa: E402, F401