foodfinder
graphql-upload
Our great sponsors
foodfinder | graphql-upload | |
---|---|---|
1 | 6 | |
2 | 1,409 | |
- | - | |
1.8 | 4.0 | |
about 1 year ago | 28 days ago | |
TypeScript | JavaScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
foodfinder
-
Implementing image uploading with Type-GraphQL, Apollo and TypeORM
I don't have a repo with this code isolated, but you can check it out on GitHub for my FoodFinder project. As always, let me know if you have any questions😃
graphql-upload
-
Send audio files to graphql
Uploading cloud storage (s3, firebase storage, etc) is probably best. I do not recommend it, but graphql-upload is a thing. https://github.com/jaydenseric/graphql-upload
-
What is the datatype that can be used for a create mutation for uploading a file of doc/pdf type?
Look at the grapqhl file upload spec (https://github.com/jaydenseric/graphql-upload). Basically the custom type File is just a string path which the server will use to get the file from the multipart request.
- How do you upload a file to Apollo server?
-
Express application crashes when it is built with webpack
I am not sure if this actually a problem with graphql-upload or webpack or something else. I also noticed that my issue looks similar to this issue, but I didn't really understand if there were any fixes to that issue and if indeed it is the same issue I am facing.
-
What are your thoughts on Next/Apollo/Prisma stack? Should I use it for my project (see details in the description)? Can you share some advice?
For file-uploads there is https://github.com/jaydenseric/graphql-upload. Usually at scale you would use a service such as S3 for storing the files. IMHO, proxying the files through the GraphQL server is a big performance penalty. Therefore I would rather recommen uploading to the file storage directly from the client, e.g. by issuing a pre-singed upload url that can be requested via a GraphQL mutation.
-
Implementing image uploading with Type-GraphQL, Apollo and TypeORM
To upload images with GraphQL, make sure to add [graphql-upload](https://github.com/jaydenseric/graphql-upload).
What are some alternatives?
react-dropzone - Simple HTML5 drag-drop zone with React.js.
pothos - Pothos GraphQL is library for creating GraphQL schemas in typescript using a strongly typed code first approach
graphql-helix - A highly evolved GraphQL HTTP Server 🧬
apollo-upload-client - A terminating Apollo Link for Apollo Client that fetches a GraphQL multipart request if the GraphQL variables contain files (by default FileList, File, or Blob instances), or else fetches a regular GraphQL POST or GET request (depending on the config and GraphQL operation).
better-sqlite3 - The fastest and simplest library for SQLite3 in Node.js.
sided - 🗞 News from the other side of the political spectrum that challenge your existing biases.
graphql-file-uploads
Quell - Quell is an easy-to-use, lightweight JavaScript library providing a client- and server-side caching solution for GraphQL. Use Quell to prevent redundant client-side API requests and to minimize costly server-side response latency.
graphql-ws - Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client.
gqtx - Code-first Typescript GraphQL Server without codegen or metaprogramming
startergraphqlserver