keeping track of my children's money since 2013
children | ||
cmd/allowances | ||
static | ||
templates | ||
.gitignore | ||
auth.go | ||
db.go | ||
gen.go | ||
handlers.go | ||
license | ||
readme.md | ||
routes.go | ||
static.go | ||
templates.go |
Allowances
keeping track of my children's money since 2013
Why
Originally I wanted to write a from-scratch, non-tutorial web application in go. After a few years of writing web stuff in go. My wife came to rely on this and when she asked me to stand up the service again I couldn't get past how bad the code looked so I polished things up.
how
you can safely install this by running the following:
$ go get mcquay.me/allowances/...
One can initialize the password and children db as follows:
$ allowances pw add $PASS
$ allowances children add $DB a b c d
and run the server as such:
export PASSES=/tmp/passes.json
export DB=/tmp/children.json
allowances serve