added more ends
This commit is contained in:
@@ -25,12 +25,32 @@ class User(db.Model):
|
|||||||
def __init__(self, email):
|
def __init__(self, email):
|
||||||
self.email = email
|
self.email = email
|
||||||
|
|
||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def hello_world():
|
def hello_world():
|
||||||
return jsonify(hello="ameye world")
|
return jsonify(hello="ameye world")
|
||||||
|
|
||||||
|
|
||||||
|
@app.route("/auth/login")
|
||||||
|
def statrt_login():
|
||||||
|
return jsonify(hello="ameye world")
|
||||||
|
|
||||||
|
@app.route("/auth/register")
|
||||||
|
def start_register():
|
||||||
|
return jsonify(hello="ameye world")
|
||||||
|
|
||||||
|
@app.route("/auth/resetpass")
|
||||||
|
def start_resetpass():
|
||||||
|
return jsonify(hello="ameye world")
|
||||||
|
|
||||||
|
@app.route("/account")
|
||||||
|
def account():
|
||||||
|
return jsonify(hello="ameye world")
|
||||||
|
|
||||||
|
@app.route("/account/dash")
|
||||||
|
def dashboard():
|
||||||
|
return jsonify(hello="ameye world")
|
||||||
|
|
||||||
|
|
||||||
@app.route("/static/<path:filename>")
|
@app.route("/static/<path:filename>")
|
||||||
def staticfiles(filename):
|
def staticfiles(filename):
|
||||||
return send_from_directory(app.config["STATIC_FOLDER"], filename)
|
return send_from_directory(app.config["STATIC_FOLDER"], filename)
|
||||||
|
|||||||
Reference in New Issue
Block a user