mirror of
https://github.com/StefBuwalda/ProjectIOT.git
synced 2025-10-30 03:09:58 +00:00
Preparing repo for merge of frontend with backend
This commit is contained in:
@@ -9,7 +9,7 @@ api_blueprint = Blueprint("api", __name__, template_folder="templates")
|
||||
|
||||
|
||||
# API to process vehicle
|
||||
@api_blueprint.route("/api", methods=["POST"])
|
||||
@api_blueprint.route("/", methods=["POST"])
|
||||
def data():
|
||||
data = request.data
|
||||
np = asyncio.run(process_image(image=data))
|
||||
|
||||
0
application/auth/templates/.gitkeep
Normal file
0
application/auth/templates/.gitkeep
Normal file
3
application/auth/views.py
Normal file
3
application/auth/views.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from flask import Blueprint
|
||||
|
||||
auth_blueprint = Blueprint("auth", __name__, template_folder="templates")
|
||||
0
application/dashboard/templates/.gitkeep
Normal file
0
application/dashboard/templates/.gitkeep
Normal file
3
application/dashboard/views.py
Normal file
3
application/dashboard/views.py
Normal file
@@ -0,0 +1,3 @@
|
||||
from flask import Blueprint
|
||||
|
||||
dash_blueprint = Blueprint("dash", __name__, template_folder="templates")
|
||||
Reference in New Issue
Block a user