This allows the current graphql-upload version to be used instead of the outdated version shipped with Apollo Server, which doesn’t support recent Node.js versions. See https://github.com/apollographql/apollo-server/issues/3508#issuecomment-662371289 .
Example GraphQL API
An example GraphQL API using:
koaapollo-server-koa, which implementsgraphql-upload
Setup
- Install the latest Node.js and npm.
- Duplicate
.env.exampleas.envand configure. - Run
npm installin theapidirectory with Terminal. - Run
npm run devfor development, ornpm run startfor production.
Ensure your editor supports:
- EditorConfig.
- ESLint, respecting
package.jsonconfig.
Support
See package.json engines.