Skip to content

Latest commit

 

History

History
 
 

minimal

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Boilerplate for a Minimal GraphQL Server


🚀 Bootstrap your GraphQL server within seconds
Basic starter kit for a flexible GraphQL server for Node.js - based on best practices from the GraphQL community.

Features

  • Scalable GraphQL server: The server uses graphql-yoga which is based on Apollo Server & Express

  • Simple Hello World example: Where it either returns Hello <name>! or Hello World! if no name argument is provided.

Getting started

# 1. Navigate to the folder
# 2. Run yarn install or npm install
# 3. Start server using yarn run start or npm start (runs on http://localhost:4000) and open in GraphQL Playground

alt text alt text

Documentation

Commands

  • yarn start or npm run start starts GraphQL server on http://localhost:4000

Project structure

File name                Description         

└── src (directory) Contains the source files for your GraphQL server
  ├── index.js 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.