Apollo Server Boilerplate (CLI)
Latest Release: v1.0.1
This CLI allows you to create your server by running just one command: apollo-server-boilerplate
. The server runs using the following libraries:
- Apollo Server Express (
apollo-server-express
) - PrismaJS (
@prisma/client
and prisma
) - ExpressJS (
express
) - GraphQL (
graphql
)
Usage
Without a git repo
apollo-server-boilerplate [Project folder name]
With a git repo
apollo-server-boilerplate [Project folder name] --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