Auto Loader GraphQL Server
🚀 Bootstrap your GraphQL server within seconds
This is a clone of the minimal starter kit for a flexible GraphQL server for TypeScript - based on best practices from the GraphQL community.
Features
- Scalable GraphQL server: The server uses
graphql-yoga
which is based on Apollo Server & Express - Tooling: Out-of-the-box support for GraphQL Playground & query performance tracing
- Simple Hello World example: Where it either returns
Hello <name>!
orHello World!
if no name argument is provided. - No configuration overhead: Preconfigured
graphql-config
setup - Automatic loader: Auto load queries and mutation based on file structure
Read more about the idea behind GraphQL boilerplates here.
Documentation
Commands
yarn start
ornpm run start
starts GraphQL server onhttp://localhost:4000
yarn dev
ornpm run dev
starts GraphQL server onhttp://localhost:4000
and opens GraphQL Playground
Project structure
File name | Description |
---|---|
└── src (directory) |
Contains the source files for your GraphQL server |
├── index.ts |
The entry point for your GraphQL server |
Contributing
The GraphQL boilerplates are maintained by the GraphQL community, with official support from the Apollo & Graphcool teams.
Your feedback is very helpful, please share your opinion and thoughts! If you have any questions or want to contribute yourself, join the #graphql-boilerplate
channel on our Slack.