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.
-
PostgreSQL 10.4.0 or higher
- 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.
-
clone this repository
$ git clone git@github.com:conradwt/zero-to-graphql-using-buffalo.git
-
change directory location
$ cd /path/to/zero-to-graphql-using-buffalo
-
install dependencies
WIP
-
create, migrate, and seed the database
$ buffalo db create $ buffalo db migrate $ buffalo task db:seed
-
start the server
$ buffalo dev
-
navigate to our application within the browser
WIP
-
enter and run GraphQL query
{ person(id: "1") { firstName lastName username email friends { firstName lastName username email } } }
WIP
Ready to run in production? Please check our deployment guides.
- Official website: https://gobuffalo.io
- Guides: https://gobuffalo.io/en/docs/goth
- Docs: https://godoc.org/github.com/gobuffalo/buffalo
- Mailing list: WIP
- Source: https://github.com/gobuffalo
- Official Website: https://gobuffalo.io
- GraphQL Go: https://github.com/graphql-go/graphql
Bug reports and feature requests can be filed with the rest for the Zero to GraphQL using Buffalo project here:
Zero to GraphQL using Buffalo is released under the MIT license.
copyright:: (c) Copyright 2018 Conrad Taylor. All Rights Reserved.