├── .gitignore ├── README.md ├── components ├── app.js ├── postlist.js └── submit.js ├── data ├── mongodb.js ├── resolvers.js └── schema.js ├── lib ├── initApollo.js └── withData.js ├── package.json ├── pages └── index.js ├── server.js └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .next/ 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BuildingXwithJS/graphql-next-example/HEAD/README.md -------------------------------------------------------------------------------- /components/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BuildingXwithJS/graphql-next-example/HEAD/components/app.js -------------------------------------------------------------------------------- /components/postlist.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BuildingXwithJS/graphql-next-example/HEAD/components/postlist.js -------------------------------------------------------------------------------- /components/submit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BuildingXwithJS/graphql-next-example/HEAD/components/submit.js -------------------------------------------------------------------------------- /data/mongodb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BuildingXwithJS/graphql-next-example/HEAD/data/mongodb.js -------------------------------------------------------------------------------- /data/resolvers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BuildingXwithJS/graphql-next-example/HEAD/data/resolvers.js -------------------------------------------------------------------------------- /data/schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BuildingXwithJS/graphql-next-example/HEAD/data/schema.js -------------------------------------------------------------------------------- /lib/initApollo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BuildingXwithJS/graphql-next-example/HEAD/lib/initApollo.js -------------------------------------------------------------------------------- /lib/withData.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BuildingXwithJS/graphql-next-example/HEAD/lib/withData.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BuildingXwithJS/graphql-next-example/HEAD/package.json -------------------------------------------------------------------------------- /pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BuildingXwithJS/graphql-next-example/HEAD/pages/index.js -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BuildingXwithJS/graphql-next-example/HEAD/server.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BuildingXwithJS/graphql-next-example/HEAD/yarn.lock --------------------------------------------------------------------------------