Skip to content

Latest commit

 

History

History
 
 

minimal

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Boilerplate for a Basic Fullstack GraphQL App with React


🚀 Bootstrap your fullstack GraphQL app within seconds
Basic starter kit for a fullstack GraphQL app with React and 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
  • Pre-configured Apollo Client: The project comes with a preconfigured setup for Apollo Client
  • Simple Hello World example: Where it either returns Hello <name>! if name argument is provided or else it returns Hello World!

For a fully-fledged React & Apollo tutorial, visit How to GraphQL. You can more learn about the idea behind GraphQL boilerplates here.

Getting started

Documentation

Commands

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

Server structure

File name                Description         

└── src (directory) Contains the source files for your GraphQL server
  ├── index.js The entry point for your GraphQL server

Frontend React Structure

File name                Description         

└── public (directory) Contains the html file
  ├── index.html
└── src (directory) Contains the html file
  ├── components(directory) Contains React Component
  ├── index.js(file) (Root file for React application)

Run your react application using yarn run start

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.