Skip to content

Commit

Permalink
chore: remove flask frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
kom-senapati committed Nov 24, 2024
1 parent d28d5e7 commit 004adaa
Show file tree
Hide file tree
Showing 43 changed files with 1 addition and 3,394 deletions.
6 changes: 1 addition & 5 deletions app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from flask_migrate import Migrate
from flask_login import LoginManager
from flask_bcrypt import Bcrypt
from jinjaMarkdown.markdownExtension import markdownExtension
from flask_jwt_extended import JWTManager
from flask_cors import CORS

Expand All @@ -24,7 +23,6 @@ def create_app() -> Flask:
"SECRET_KEY", "default_jwt_secret_key"
)
app.url_map.strict_slashes = False
app.jinja_env.add_extension(markdownExtension)
# temp. condition
# TODO: keep only jwt
jwt = JWTManager(app)
Expand All @@ -41,10 +39,8 @@ def create_app() -> Flask:
def load_user(uid: int) -> User:
return User.query.get(uid)

from .routes import register_routes
from .api_routes import register_api_routes

register_routes(app, db, bcrypt)

register_api_routes(app, db, bcrypt)

return app
Binary file removed app/fonts/handwriting.pkl
Binary file not shown.
Binary file removed app/fonts/handwriting.ttf
Binary file not shown.
262 changes: 0 additions & 262 deletions app/routes.py

This file was deleted.

Loading

0 comments on commit 004adaa

Please sign in to comment.