added more ends
This commit is contained in:
@@ -25,12 +25,32 @@ class User(db.Model):
|
||||
def __init__(self, email):
|
||||
self.email = email
|
||||
|
||||
|
||||
@app.route("/")
|
||||
def hello_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>")
|
||||
def staticfiles(filename):
|
||||
return send_from_directory(app.config["STATIC_FOLDER"], filename)
|
||||
|
||||
Reference in New Issue
Block a user