23 lines
672 B
Markdown
23 lines
672 B
Markdown
# Apollo upload example web app
|
|
|
|
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
|
|
|
|
1. Install the latest [Node.js](https://nodejs.org) and [npm](https://npmjs.com).
|
|
2. Run `npm install` within the `app` directory in Terminal.
|
|
3. Copy `.env.example`, rename it `.env` and customize.
|
|
|
|
For development run `npm run dev`.
|
|
|
|
For production run `npm run build && npm run start`.
|
|
|
|
## Support
|
|
|
|
See `engines` in `package.json`.
|