├── .babelrc ├── .eslintrc.yml ├── .gitignore ├── .nvmrc ├── LICENSE ├── README.md ├── graphql-demo.gif ├── knexfile.js ├── migrations └── 20160411194216_blog.js ├── mysql ├── package.json ├── presentation.pdf ├── seeds └── blog.js ├── src ├── browser.js ├── components │ ├── Blog.js │ ├── Editor.css │ ├── Editor.js │ ├── Footer.js │ ├── Header.js │ ├── Notification.js │ ├── Post.js │ ├── PostCreator.js │ ├── PostEditor.js │ ├── Posts.js │ ├── Presentation │ │ ├── author.error.png │ │ ├── author.fragment.png │ │ ├── author.graphql │ │ ├── author.inline.png │ │ ├── author.json │ │ ├── author.variables.png │ │ ├── example.graphql │ │ ├── example.js │ │ ├── graphiql.png │ │ ├── index.js │ │ └── presentation.css │ └── Users.js ├── middleware │ ├── api.js │ ├── files.js │ └── view.js ├── presentation.js ├── schema │ ├── AuthorType.js │ ├── MutationType.js │ ├── PostType.js │ ├── QueryType.js │ └── index.js └── server.js ├── webpack.config.browser.babel.js └── webpack.config.server.babel.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/.babelrc -------------------------------------------------------------------------------- /.eslintrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/.eslintrc.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | npm-debug.log 4 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v5.10.1 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/README.md -------------------------------------------------------------------------------- /graphql-demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/graphql-demo.gif -------------------------------------------------------------------------------- /knexfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/knexfile.js -------------------------------------------------------------------------------- /migrations/20160411194216_blog.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/migrations/20160411194216_blog.js -------------------------------------------------------------------------------- /mysql: -------------------------------------------------------------------------------- 1 | CREATE DATABASE graphql_demo -u root 2 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/package.json -------------------------------------------------------------------------------- /presentation.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/presentation.pdf -------------------------------------------------------------------------------- /seeds/blog.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/seeds/blog.js -------------------------------------------------------------------------------- /src/browser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/browser.js -------------------------------------------------------------------------------- /src/components/Blog.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Blog.js -------------------------------------------------------------------------------- /src/components/Editor.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Editor.css -------------------------------------------------------------------------------- /src/components/Editor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Editor.js -------------------------------------------------------------------------------- /src/components/Footer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Footer.js -------------------------------------------------------------------------------- /src/components/Header.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Header.js -------------------------------------------------------------------------------- /src/components/Notification.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Notification.js -------------------------------------------------------------------------------- /src/components/Post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Post.js -------------------------------------------------------------------------------- /src/components/PostCreator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/PostCreator.js -------------------------------------------------------------------------------- /src/components/PostEditor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/PostEditor.js -------------------------------------------------------------------------------- /src/components/Posts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Posts.js -------------------------------------------------------------------------------- /src/components/Presentation/author.error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Presentation/author.error.png -------------------------------------------------------------------------------- /src/components/Presentation/author.fragment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Presentation/author.fragment.png -------------------------------------------------------------------------------- /src/components/Presentation/author.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Presentation/author.graphql -------------------------------------------------------------------------------- /src/components/Presentation/author.inline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Presentation/author.inline.png -------------------------------------------------------------------------------- /src/components/Presentation/author.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Presentation/author.json -------------------------------------------------------------------------------- /src/components/Presentation/author.variables.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Presentation/author.variables.png -------------------------------------------------------------------------------- /src/components/Presentation/example.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Presentation/example.graphql -------------------------------------------------------------------------------- /src/components/Presentation/example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Presentation/example.js -------------------------------------------------------------------------------- /src/components/Presentation/graphiql.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Presentation/graphiql.png -------------------------------------------------------------------------------- /src/components/Presentation/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Presentation/index.js -------------------------------------------------------------------------------- /src/components/Presentation/presentation.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Presentation/presentation.css -------------------------------------------------------------------------------- /src/components/Users.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/components/Users.js -------------------------------------------------------------------------------- /src/middleware/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/middleware/api.js -------------------------------------------------------------------------------- /src/middleware/files.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/middleware/files.js -------------------------------------------------------------------------------- /src/middleware/view.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/middleware/view.js -------------------------------------------------------------------------------- /src/presentation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/presentation.js -------------------------------------------------------------------------------- /src/schema/AuthorType.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/schema/AuthorType.js -------------------------------------------------------------------------------- /src/schema/MutationType.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/schema/MutationType.js -------------------------------------------------------------------------------- /src/schema/PostType.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/schema/PostType.js -------------------------------------------------------------------------------- /src/schema/QueryType.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/schema/QueryType.js -------------------------------------------------------------------------------- /src/schema/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/schema/index.js -------------------------------------------------------------------------------- /src/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/src/server.js -------------------------------------------------------------------------------- /webpack.config.browser.babel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/webpack.config.browser.babel.js -------------------------------------------------------------------------------- /webpack.config.server.babel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ericclemmons/graphql-demo/HEAD/webpack.config.server.babel.js --------------------------------------------------------------------------------