-
-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename and more diverse examples #6
Comments
looking forward to that. Thanks very much @jaydenseric |
I make this examples with Vue.js Vue.js + Apollo + express Vue.js + Apollo + koa Vue.js + Apollo-server |
For now we'll keep this repo as just Apollo examples. It would be a huge maintenance burden to somehow have examples for every framework multiplied by however many storage options; and I would not be able to quality control examples for frameworks and cloud services I don't have experience with. I'm pretty happy with the code examples in the The GraphQL multipart request spec has become well adopted with over 20 client/server implementations. It’s now up to the individual frameworks and commercial offerings to advertise and document their support for GraphQL file uploads. |
@jaydenseric any chance I can find a full express-graphql example elsewhere ? |
@thorizer Not that I'm aware of, although someone probably has one somewhere. The setup is really easy though, and there are code examples in the https://github.com/jaydenseric/graphql-upload#function-graphqluploadexpress const express = require('express');
const graphqlHTTP = require('express-graphql');
const { graphqlUploadExpress } = require('graphql-upload');
const schema = require('./schema');
express()
.use(
'/graphql',
graphqlUploadExpress({ maxFileSize: 10000000, maxFiles: 10 }),
graphqlHTTP({ schema })
)
.listen(3000); Use The way the file |
It's time to rethink the name and contents of this repo.
apollo-upload-server
: Package rename graphql-upload#68. It might make sense to rename the projectgraphql-mutipart-request-spec-examples
(or something similar but shorter, likegraphql-upload-examples
).apollo-upload-server
built in, so we need to use something else likegraphql-api-koa
orexpress-graphql
to demonstrate a manual setup.A new project structure could include a variety of cross-compatible server and client examples, centering around the GraphQL multipart request spec.
It would be great to have examples for each with common cloud storage providers such as AWS S3.
The text was updated successfully, but these errors were encountered: