Skip to content

A protoc plugin to generate GraphQL schema from protobuf files

License

Notifications You must be signed in to change notification settings

viqueen/protoc-gen-graphql

Repository files navigation

protoc-gen-graphql

Quality Gate Status

Protoc plugin to generate GraphQL schema from protobuf schema.

install it

from stable

  • with homebrew (preferred)
brew tap viqueen/labset
brew install protoc-gen-graphql
  • with npm
npm install @labset/protoc-gen-graphql -g

development

environment

  • nvm to manage node versions.
brew install nvm
  • yarn as node package manager
brew install yarn

house-keeping

  • install dependencies
nvm install
yarn
  • build it
yarn build
  • format it
yarn format
  • lint it
yarn lint
yarn lint --fix
  • test it
yarn test