graphql-upload
foodfinder
Our great sponsors
graphql-upload | foodfinder | |
---|---|---|
6 | 1 | |
1,412 | 2 | |
- | - | |
4.0 | 1.8 | |
6 days ago | about 1 year ago | |
JavaScript | TypeScript | |
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.
graphql-upload
- 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).
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😃
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
hello-esm-firebase - 🔥 ESM in Cloud Functions (via Firebase)