diff --git a/api/readme.md b/api/readme.md index 9c17b55..8958cdf 100644 --- a/api/readme.md +++ b/api/readme.md @@ -1,6 +1,10 @@ -# Apollo upload example API +# Apollo upload example GraphQL API -An example GraphQL API using [apollo-upload-server](https://github.com/jaydenseric/apollo-upload-server). +An example GraphQL API using: + +- [koa](https://www.npmjs.com/package/koa) +- [graphql-server-koa](https://www.npmjs.com/package/graphql-server-koa) +- [apollo-upload-server](https://www.npmjs.com/package/apollo-upload-server) ## Setup diff --git a/app/readme.md b/app/readme.md index 4b02a76..e5f82ff 100644 --- a/app/readme.md +++ b/app/readme.md @@ -1,6 +1,11 @@ -# Apollo upload example web application +# Apollo upload example web app -An example web application using [Next.js](https://github.com/zeit/next.js), [React Apollo client](http://dev.apollodata.com/react) and [apollo-upload-client](https://github.com/jaydenseric/apollo-upload-client). +An example SSR web app using: + +- [next](https://www.npmjs.com/package/next) +- [react-apollo](https://www.npmjs.com/package/react-apollo) +- [apollo-link-batch-http](https://www.npmjs.com/package/apollo-link-batch-http) +- [apollo-fetch-upload](https://www.npmjs.com/package/apollo-fetch-upload) ## Setup diff --git a/readme.md b/readme.md index e5163c3..6865a4e 100644 --- a/readme.md +++ b/readme.md @@ -7,8 +7,25 @@ ![Github issues](https://img.shields.io/github/issues/jaydenseric/apollo-upload-examples.svg?style=flat-square) ![Github stars](https://img.shields.io/github/stars/jaydenseric/apollo-upload-examples.svg?style=flat-square) -An example GraphQL API using [apollo-upload-server](https://github.com/jaydenseric/apollo-upload-server) and an example web app using [apollo-upload-client](https://github.com/jaydenseric/apollo-upload-client), [React Apollo Client](http://dev.apollodata.com/react) and [Next.js](https://github.com/zeit/next.js). +A full stack demo of file uploads via GraphQL mutations with [Apollo](http://dev.apollodata.com). -## Setup +## GraphQL API -See readmes in `/api` and `/app`. +See [`api/readme.md`](api/readme.md). + +Uses: + +- [koa](https://www.npmjs.com/package/koa) +- [graphql-server-koa](https://www.npmjs.com/package/graphql-server-koa) +- [apollo-upload-server](https://www.npmjs.com/package/apollo-upload-server) + +## Web app + +See [`app/readme.md`](app/readme.md). + +Uses: + +- [next](https://www.npmjs.com/package/next) +- [react-apollo](https://www.npmjs.com/package/react-apollo) +- [apollo-link-batch-http](https://www.npmjs.com/package/apollo-link-batch-http) +- [apollo-fetch-upload](https://www.npmjs.com/package/apollo-fetch-upload)