GraphQL CLI tool for creating apollo-server, typedefs, resolvers and datasources and more.
To install the GraphQL CLI tool:
$ npm install -g graphql-fun
graphql-fun server
to create a new apollo-server.Run graphql-fun -l
to list all available commands:
$ graphql-fun -l
Available commands:
graphql-fun server
Run graphql-fun <command> --help
to learn more about each command. For example:
$ graphql-fun server --help
Usage:
graphql-fun server [options] [<name>]
Refer to Create a simple apollo-server for more information.