Example #1
0
def create_card():
    data = request.get_json()
    data_handler.create_card(data["board_id"], data["status_id"])
    return data_handler.get_all_from_table("cards")
Example #2
0
def get_all_cards():
    return data_handler.get_all_from_table("cards")
Example #3
0
def get_statuses():
    return data_handler.get_all_from_table("statuses")
Example #4
0
def get_boards():
    return data_handler.get_all_from_table('boards')