Updated docs.

This commit is contained in:
Jayden Seric 2017-08-10 19:12:03 +10:00
parent 352f5beacc
commit 8472290049
3 changed files with 33 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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)