To run locally
- Install Go.
- Clone this repo.
- Run
go mod tidy
andgo mod vendor
. - Create your
.env
file. Refer to.env.example
. - Add
firebase-admin-sdk.json
in your root folder. This is your Firebase Service Account key. Refer here. - Create a counter file in
store/counter/counter.json
like below:
{
"Current": 1,
"Max": 2000 // this is unused stuff. still not implemented.
}
- Give it a go by
go run .
or if you want to buildgo build .
.