forked from rohitdash08/FinMind
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
22 lines (20 loc) · 951 Bytes
/
__init__.py
File metadata and controls
22 lines (20 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from flask import Flask
from .auth import bp as auth_bp
from .expenses import bp as expenses_bp
from .bills import bp as bills_bp
from .reminders import bp as reminders_bp
from .insights import bp as insights_bp
from .categories import bp as categories_bp
from .docs import bp as docs_bp
from .dashboard import bp as dashboard_bp
from .jobs import bp as jobs_bp
def register_routes(app: Flask):
app.register_blueprint(auth_bp, url_prefix="/auth")
app.register_blueprint(expenses_bp, url_prefix="/expenses")
app.register_blueprint(bills_bp, url_prefix="/bills")
app.register_blueprint(reminders_bp, url_prefix="/reminders")
app.register_blueprint(insights_bp, url_prefix="/insights")
app.register_blueprint(categories_bp, url_prefix="/categories")
app.register_blueprint(docs_bp, url_prefix="/docs")
app.register_blueprint(dashboard_bp, url_prefix="/dashboard")
app.register_blueprint(jobs_bp, url_prefix="/jobs")