App has a one user. See example.env file, where user credentials is located.
-
Create .env file in the root of project and paste inside your user credentials, ports and certificates path. (See example.env file)
-
Generate TLS certificates for local usage.
Convenient way to do that with a great mkcert tool.
mkcert auth.signin.dev localhost
http://localhost:8080 (auto redirect to https)
- port specify in .env file
Build binary with maximum reduced build size.
go build -ldflags "-s -w"
upx -f --brute -o build_name.upx build_name