Phase 2a of modular monolith refactoring:
New blueprints:
- blueprints/auth/routes.py (1,040 lines, 20 routes)
- login, logout, register, verify_2fa, settings_2fa
- forgot_password, reset_password, verify_email
- konto_dane, konto_prywatnosc, konto_bezpieczenstwo, konto_blokady
- blueprints/public/routes.py (862 lines, 11 routes)
- index, company_detail, person_detail, search
- dashboard, events, new_members, release_notes
Alias Bridge strategy:
- Both url_for('login') and url_for('auth.login') work
- Templates don't require changes (backward compatible)
- Original routes in app.py marked with _old_ prefix (dead code)
Next step: Cleanup dead code from app.py after production verification
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
213 B
Python
13 lines
213 B
Python
"""
|
|
Public Blueprint
|
|
================
|
|
|
|
Public-facing routes: index, company profiles, search, events.
|
|
"""
|
|
|
|
from flask import Blueprint
|
|
|
|
bp = Blueprint('public', __name__)
|
|
|
|
from . import routes # noqa: E402, F401
|