apollo-gen

MIT

Usage no npm install needed!

<script type="module">
  import apolloGen from 'https://cdn.skypack.dev/apollo-gen';
</script>

README

apollo-gen

Generator and boilerplate for GraphQL apps

Instructions

Install with: npm install -g apollo-gen

Create a new project in a empty folder: apollo-gen init

Available scripts

  • generate gql schema from mysql db: apollo-gen mysql-schema mysql://user:pass@host/db
  • build with: npm run build
  • update generated code: npx apollo-gen
  • start application: npm start