- 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>
14 lines
302 B
Python
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
|