@krishna-kapoor/apollo-graphql-cli
v1.0.1
Published
Boilerplate Apollo and ExpressJS servers
Downloads
2
Maintainers
Readme
Apollo GraphQL CLI v1.0.1
This CLI allows you to create your server by running just one command: apollo-graphql-cli
. The server runs using the following libraries:
- Apollo Server Express (
apollo-server-express
) - PrismaJS (
@prisma/client
andprisma
) - ExpressJS (
express
) - GraphQL (
graphql
)
Usage
Without a git repo
$ apollo-graphql-cli [project folder path]
With a git repo
$ apollo-graphql-cli [project folder path] --git (or -g)
Questions asked
- Which GraphQL schema generator should be used? (choose NexusJS, since only this is supported in v1)
- Development Server port (default:
8080
) - GraphQL schema path (default:
/graphql
) - Server URL after deployment (can be filled in later if left empty)
- Database URL (can be filled in later if left empty)
That's it!
Later releases post v1 will support
type-graphql
too