Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/graphql-boilerplates/node-graphql-server

Boilerplate code for scalable, production-ready GraphQL servers
https://github.com/graphql-boilerplates/node-graphql-server

graphql graphql-boilerplate graphql-server nodejs

Last synced: about 2 months ago
JSON representation

Boilerplate code for scalable, production-ready GraphQL servers

Awesome Lists containing this project

README

        

GraphQL Server Boilerplates for Node.js


![](https://imgur.com/lIi4YrZ.png)

Bootstrap your GraphQL server within seconds

GraphQL boilerplates provide the perfect foundation for your GraphQL server, no matter if you're just getting started with GraphQL or aim to build a fully-fledged application.


## Deprecation note

This repository has been deprecated and is currently unmaintained. You can find up-to-date examples for building GraphQL servers with a database [here](https://github.com/prisma/prisma-examples/).

## Features

- **Rapid scaffolding**: Simply use `graphql create` (from the [GraphQL CLI](https://github.com/graphql-cli/graphql-cli)) to download the boilerplate you want.
- **Easily extensible**: A boilerplate only provides the minimum setup so you can tailor the API to your use case.
- **Best practices**: Each boilerplate incorporates best practices from the GraphQL community.

For a fully-fledged **GraphQL & Node.js tutorial**, visit [How to GraphQL](https://www.howtographql.com/graphql-js/0-introduction/). You can more learn about the idea behind GraphQL boilerplates [here](https://blog.graph.cool/graphql-boilerplates-graphql-create-how-to-setup-a-graphql-project-6428be2f3a5).

## Quickstart

Select a boilerplate and follow the instructions in the belonging README to get started:

- [`minimal`](./minimal): Minimal boilerplate with basic "Hello World" functionality
- [`basic`](./basic): Basic boilerplate based on a simple data model and with a GraphQL database
- [`advanced`](./advanced): Advanced boilerplate with a GraphQL database, authentication and realtime subscriptions

All projects are based on [`graphql-yoga`](https://github.com/graphcool/graphql-yoga/), a fully-featured GraphQL server library with focus on easy setup, performance & great developer experience.

## Contributing

The GraphQL boilerplates are maintained by the GraphQL community, with official support from the [Apollo](https://blog.apollographql.com/) & [Prisma / Graphcool](https://prisma.io/blog) 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`](https://graphcool.slack.com/messages/graphql-boilerplate) channel on our [Slack](https://graphcool.slack.com/).