from save_spend_share import app
from save_spend_share import database

@app.route('/')
@app.route('/index')
def index():
    return "hello world"



@app.route('/add/<amount>')
def add_amount(amount):
    return amount

@app.route('/add/<name>')
def add_kid(name):
    #TODO error checking
    db.add_kid(name)

@app.route('/add/<kid>/<amount>/<bucket>')
def add_money(kid,amount,bucket):
    print(f'adding {amount} to {kid}s {bucket} bucket')
    return None



f812627c8a53549dbcef85d721fee4f47381ba01
<mask token>


@app.route('/add/<amount>')
def add_amount(amount):
    return amount


<mask token>


@app.route('/add/<kid>/<amount>/<bucket>')
def add_money(kid, amount, bucket):
    print(f'adding {amount} to {kid}s {bucket} bucket')
    return None

<mask token>


@app.route('/')
@app.route('/index')
def index():
    return 'hello world'


@app.route('/add/<amount>')
def add_amount(amount):
    return amount


<mask token>


@app.route('/add/<kid>/<amount>/<bucket>')
def add_money(kid, amount, bucket):
    print(f'adding {amount} to {kid}s {bucket} bucket')
    return None

<mask token>


@app.route('/')
@app.route('/index')
def index():
    return 'hello world'


@app.route('/add/<amount>')
def add_amount(amount):
    return amount


@app.route('/add/<name>')
def add_kid(name):
    db.add_kid(name)


@app.route('/add/<kid>/<amount>/<bucket>')
def add_money(kid, amount, bucket):
    print(f'adding {amount} to {kid}s {bucket} bucket')
    return None

from save_spend_share import app
from save_spend_share import database


@app.route('/')
@app.route('/index')
def index():
    return 'hello world'


@app.route('/add/<amount>')
def add_amount(amount):
    return amount


@app.route('/add/<name>')
def add_kid(name):
    db.add_kid(name)


@app.route('/add/<kid>/<amount>/<bucket>')
def add_money(kid, amount, bucket):
    print(f'adding {amount} to {kid}s {bucket} bucket')
    return None

from save_spend_share import app
from save_spend_share import database

@app.route('/')
@app.route('/index')
def index():
    return "hello world"



@app.route('/add/<amount>')
def add_amount(amount):
    return amount

@app.route('/add/<name>')
def add_kid(name):
    #TODO error checking
    db.add_kid(name)

@app.route('/add/<kid>/<amount>/<bucket>')
def add_money(kid,amount,bucket):
    print(f'adding {amount} to {kid}s {bucket} bucket')
    return None


