add a bunch of frontend stuff

This commit is contained in:
sam 2023-09-03 04:11:56 +02:00
parent 2586161abd
commit bc85b7c340
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
30 changed files with 1459 additions and 136 deletions

View file

@ -30,7 +30,10 @@ func run(c *cli.Context) error {
return errors.Wrap(err, "creating postgres database")
}
a := app.NewApp(cfg, db)
a, err := app.NewApp(cfg, db)
if err != nil {
return errors.Wrap(err, "creating app")
}
log.Debug().Msg("Creating account")
acct, err := a.Account().CreateLocal(c.Context, "testington", "no@mercury.example", []byte("password"))