jurosh / simple-graphql-example

Simple graphql project ready to be deployed to heroku server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple GraphQL server implementations

WARNING: This example might be slightly out of date, please check official docs for used libraries

GraphQL server using Express & Apollo & Prisma.

Please not that this repo contains only basic implementations, GraphQL can be much more powerfull.

If you want simply generate backend based on Models only, you can use great GraphCool service. There is also interesting code generator project.

Another cool project from Graphcool is Prisma. Prisma can easily generate ready to run GraphQL backend and can be hosted myself or in Prisma cloud.

To setup robust server you can also use Apollo server. It's great and stable solution.

To learn more about GraphQL visit GraphQL official website.

Code Examples

  1. Express basic (raw) implementation in folder ./express.

Schema

  1. Prisma example in ./prisma (under development).

  2. Apollo example in ./apollo (under development).

Interesting links

GraphQL visualizers:

About

Simple graphql project ready to be deployed to heroku server


Languages

Language:TypeScript 49.5%Language:JavaScript 48.6%Language:Shell 1.9%