Skip to content

An example implementation of a GraphQL Server using Buffalo Web Framework.

Notifications You must be signed in to change notification settings

conradwt/zero-to-graphql-using-buffalo

Repository files navigation

Zero to GraphQL Using Buffalo

The purpose of this example is to provide details as to how one would go about using GraphQL with the Buffalo Web Framework. Thus, I have created two major sections which should be self explanatory: Quick Installation and Tutorial Installation.

Getting Started

Software requirements

Communication

  • If you need help, use Stack Overflow. (Tag 'graphql')
  • If you'd like to ask a general question, use Stack Overflow.
  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

Quick Installation

  1. clone this repository

    $ git clone git@github.com:conradwt/zero-to-graphql-using-buffalo.git
    
  2. change directory location

    $ cd /path/to/zero-to-graphql-using-buffalo
    
  3. install dependencies

    WIP
    
  4. create, migrate, and seed the database

    $ buffalo db create
    $ buffalo db migrate
    $ buffalo task db:seed
    
  5. start the server

    $ buffalo dev
    
  6. navigate to our application within the browser

    WIP
    
  7. enter and run GraphQL query

    {
     person(id: "1") {
       firstName
       lastName
       username
       email
       friends {
         firstName
         lastName
         username
         email
       }
     }
    }
    

Tutorial Installation

WIP

Production Setup

Ready to run in production? Please check our deployment guides.

Buffalo References

GraphQL References

Support

Bug reports and feature requests can be filed with the rest for the Zero to GraphQL using Buffalo project here:

License

Zero to GraphQL using Buffalo is released under the MIT license.

Copyright

copyright:: (c) Copyright 2018 Conrad Taylor. All Rights Reserved.

About

An example implementation of a GraphQL Server using Buffalo Web Framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published