keeping track of my children's money since 2013
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Stephen McQuay 57e252ce2b
added prometheus route
3 anos atrás
children plumbed through child add/delete subcommands 4 anos atrás
cmd/allowances allow creation of fresh children db on init 4 anos atrás
static Got app working 6 anos atrás
templates Major refactor 4 anos atrás
.gitignore ignore db files 6 anos atrás
auth.go Major refactor 4 anos atrás
db.go plumbed through child add/delete subcommands 4 anos atrás
gen.go Major refactor 4 anos atrás
handlers.go plumbed through child add/delete subcommands 4 anos atrás
license updated license 4 anos atrás
readme.md updated readme 4 anos atrás
routes.go added prometheus route 3 anos atrás
static.go added generated static file 4 anos atrás
templates.go Major refactor 4 anos atrás

readme.md

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