- Clone the project from Github
git clone [email protected]:jdpx/mind-hub-api.git
- install Golang
brew install go
- Install dependancies
make install
- Install Docker
- Install Golang-Lint
brew install golangci-lint
- Set GraphCMS URL in your
.zshrc
or.bashrc
GRAPH_CMS_URL=https://api-eu-central-1.graphcms.com/v2/{GraphCMSAPIKey}
- Start local DynamoDB
make run/local-dynamo
- Run local API
make run/api
- Run tests
make run/tests
- Run linter
make lint
- Regenerate GraphQL Schema
make generate/graphql