A storage bin thingy for Repl.it projects
Few optimization tips


verify_password function 


avoid bare except: clause - at least use except Exception: (though it's also broad, check which exception class is most appropriate in that context)
a set of statements:

try:
    if check_password_hash(user["password"], password):
        return True
except: return False
return False


is an overloaded and verbose version of a more explicit logic:

@auth.verify_password
def verify_password(username, password):
    user = db.retrieve(f"users/{username}")
    try:
        return check_password_hash(user["password"], password)
    except Exception:
        return False


don't overuse (or avoid entirely) multiple statements one-liners like if &lt;condition&gt;: &lt;long statement&gt;
avoid writing duplicated lengthy db statements like:

if request.is_json: db.store(f"users/{user}", { "password": generate_password_hash(request.get_json()['password'])})
else: db.store(f"users/{user}", { "password": generate_password_hash(request.form['password'])})


To fix that determine request data source beforehand. Optimizing register function:

@app.route('/regester', methods = ['POST'])
def register():
    data = request.get_json() if request.is_json else request.form
    user = data['username']
    if db.retrieve(f"users/{user}"):
        return False

    db.store(f"users/{user}", {"password": generate_password_hash(data['password'])})
    return make_response(user, 201)


Apply this optimization technique to all remaining functions with a similar issue.