Before getting started, ensure you have done the following things:
- Install
Go - Clone Core API repository
- Execute
make generate_jwksfrom the Core API repository - Copy and paste
private.pemfile to this repository
To start this repo on your machine, do the following:
- Clone this repo
- Go to the repo directory on your machine
- Execute
go mod tidy && go mod vendor - Setup the environment variables in
./.envfile (see below for details) - Finally,
make runto run the Go app with.envfile
Setup the following environment variables in ./.env file:
ENV=localhost
REDIS_DSN=localhost:6380
REDIS_PASSWORD=secret
PUBSUB_PROJECT_ID=local-project
PUBSUB_EMULATOR_HOST=localhost:8085
FRONTEND_URL=http://localhost:3000