Skip to content

ck3g/homebugh-api

Repository files navigation

Homebugh API

An API for the Homebugh application.

Configure development environment

  1. Generate a self-signed TLS certificate
$ cd tls
$ go run /usr/local/go/src/crypto/tls/generate_cert.go --rsa-bits=2048 --host=localhost

when using asdf with 1.19.2 version of go (adjust if needed):

go run ~/.asdf/installs/golang/1.19.2/go/src/crypto/tls/generate_cert.go --rsa-bits=2048 --host=localhost
  1. Configure database

The application uses the database from Homebugh repository. Follow the steps from Configure development environment list.

License

HomeBugh app is released under the MIT License.