A GraphQL APIs for https://cnodejs.org community built with graphql-go package.
Put following environment variables into .env
file
API_BASE_URL=https://cnodejs.org/api/v1
GRAPHQL_PATH=/graphql
PORT=3001
Start GraphQL API server:
make run
build to binary:
make build
Run unit tests:
make unit_test