Update the readmes.

This commit is contained in:
Jayden Seric 2020-09-17 21:05:08 +10:00
parent c5c1373ad3
commit 1dd6eec19a
3 changed files with 6 additions and 5 deletions

View File

@ -3,11 +3,12 @@
An example GraphQL API using:
- [`koa`](https://npm.im/koa)
- [`apollo-server-koa`](https://npm.im/apollo-server-koa), which implements [`graphql-upload`](https://npm.im/graphql-upload)
- [`apollo-server-koa`](https://npm.im/apollo-server-koa)
- [`graphql-upload`](https://npm.im/graphql-upload)
## Setup
1. Install the latest [Node.js](https://nodejs.org) and [npm](https://npmjs.com).
1. Install the latest [Node.js and npm](https://npmjs.com/get-npm).
2. Duplicate `.env.example` as `.env` and configure.
3. Run `npm install` in the `api` directory with Terminal.
4. Run `npm run dev` for development, or `npm run start` for production.

View File

@ -8,7 +8,7 @@ An example SSR web app using:
## Setup
1. Install the latest [Node.js](https://nodejs.org) and [npm](https://npmjs.com).
1. Install the latest [Node.js and npm](https://npmjs.com/get-npm).
2. Duplicate `.env.example` as `.env` and configure.
3. Run `npm install` in the `app` directory with Terminal.
4. Run `npm run dev` for development, or `npm run build && npm start` for production.

View File

@ -4,5 +4,5 @@
A full stack demo of file uploads via GraphQL mutations using [GraphQL multipart request spec](https://github.com/jaydenseric/graphql-multipart-request-spec) implementations:
- [Example GraphQL API](api) using [Apollo Server](https://apollographql.com/server).
- [Example web app](app) using [apollo-upload-client](https://github.com/jaydenseric/apollo-upload-client).
- [Example GraphQL API](api) using [`graphql-upload`](https://npm.im/graphql-upload).
- [Example web app](app) using [`apollo-upload-client`](https://npm.im/apollo-upload-client).