Readme tweaks and fixes.
This commit is contained in:
parent
e38833bbc0
commit
d913f91f1e
@ -4,16 +4,16 @@
|
|||||||
|
|
||||||
An example GraphQL API using:
|
An example GraphQL API using:
|
||||||
|
|
||||||
* [koa](https://www.npmjs.com/package/koa)
|
* [koa](https://npm.im/koa)
|
||||||
* [graphql-server-koa](https://www.npmjs.com/package/graphql-server-koa)
|
* [graphql-server-koa](https://npm.im/graphql-server-koa)
|
||||||
* [apollo-upload-server](https://www.npmjs.com/package/apollo-upload-server)
|
* [apollo-upload-server](https://npm.im/apollo-upload-server)
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
1. Install the latest [Node.js](https://nodejs.org) and
|
1. Install the latest [Node.js](https://nodejs.org) and
|
||||||
[npm](https://npmjs.com).
|
[npm](https://npmjs.com).
|
||||||
2. Duplicate `.env.example` as `.env` and customize.
|
2. Duplicate `.env.example` as `.env` and configure.
|
||||||
3. With Terminal in the `api` directory run `npm install`.
|
3. Run `npm install` in the `api` directory with Terminal.
|
||||||
4. Run `npm run dev` for development, or `npm run start` for production.
|
4. Run `npm run dev` for development, or `npm run start` for production.
|
||||||
|
|
||||||
Ensure your editor supports:
|
Ensure your editor supports:
|
||||||
|
|||||||
22
readme.md
22
readme.md
@ -2,11 +2,12 @@
|
|||||||
|
|
||||||
# Apollo upload examples
|
# Apollo upload examples
|
||||||
|
|
||||||

|

|
||||||

|
[](https://github.com/jaydenseric/apollo-upload-examples/issues)
|
||||||

|
[](https://github.com/jaydenseric/apollo-upload-examples/stargazers)
|
||||||
|
|
||||||
A full stack demo of file uploads via GraphQL mutations with [Apollo](http://dev.apollodata.com).
|
A full stack demo of file uploads via GraphQL mutations with
|
||||||
|
[Apollo](https://apollographql.com).
|
||||||
|
|
||||||
## GraphQL API
|
## GraphQL API
|
||||||
|
|
||||||
@ -14,9 +15,9 @@ See [`api/readme.md`](api/readme.md).
|
|||||||
|
|
||||||
Uses:
|
Uses:
|
||||||
|
|
||||||
- [koa](https://www.npmjs.com/package/koa)
|
* [koa](https://npm.im/koa)
|
||||||
- [graphql-server-koa](https://www.npmjs.com/package/graphql-server-koa)
|
* [graphql-server-koa](https://npm.im/graphql-server-koa)
|
||||||
- [apollo-upload-server](https://www.npmjs.com/package/apollo-upload-server)
|
* [apollo-upload-server](https://npm.im/apollo-upload-server)
|
||||||
|
|
||||||
## Web app
|
## Web app
|
||||||
|
|
||||||
@ -24,7 +25,6 @@ See [`app/readme.md`](app/readme.md).
|
|||||||
|
|
||||||
Uses:
|
Uses:
|
||||||
|
|
||||||
- [next](https://www.npmjs.com/package/next)
|
* [next](https://npm.im/next)
|
||||||
- [react-apollo](https://www.npmjs.com/package/react-apollo)
|
* [react-apollo](https://npm.im/react-apollo)
|
||||||
- [apollo-link-batch-http](https://www.npmjs.com/package/apollo-link-batch-http)
|
* [apollo-upload-client](https://npm.im/apollo-upload-client)
|
||||||
- [apollo-fetch-upload](https://www.npmjs.com/package/apollo-fetch-upload)
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user