An example of file handling via apollo-upload-server and apollo-upload-client for prisma GraphQL.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
server
src
.DS_Store rewrite using react-fullstack-basic boilerplate Mar 8, 2018
.gitignore
LICENSE
README.md
package-lock.json
package.json
yarn.lock

README.md

File Handling with prisma, graphql-yoga, AWS S3 and React.js

This example demonstrates how to implement a GraphQL server with a file handling API based on AWS S3, Prisma & graphql-yoga's built-in apollo-upload-server. Additionally, a React.js frontend shows how to implement apollo-upload-client.

Installation

git clone https://github.com/manticarodrigo/prisma-s3.git
cd /path/to/repo

Deploy server

cd server
yarn install
prisma deploy
yarn start

Deploy client

yarn install
yarn start