|
4 years ago | |
---|---|---|
children | 5 years ago | |
cmd/allowances | 5 years ago | |
static | 7 years ago | |
templates | 5 years ago | |
.gitignore | 7 years ago | |
auth.go | 5 years ago | |
db.go | 5 years ago | |
gen.go | 5 years ago | |
handlers.go | 5 years ago | |
license | 5 years ago | |
readme.md | 5 years ago | |
routes.go | 4 years ago | |
static.go | 5 years ago | |
templates.go | 5 years ago |
keeping track of my children's money since 2013
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.
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