GraphQL file upload is based on:
- Backend:
graphile-contrib/postgraphile-plugin-upload-field
- Frontend:
jaydenseric/apollo-upload-client
Attachments files are stored in Minio Object Storage server (compatible with S3 API).
- Docker Engine (version
18.06.1-ce
) - Docker Compose (version
1.22.0
) - nodejs (version
v12.10.0
)
Homebrew instructions:
$ brew cask install docker
$ brew install git node yarn
Git clone this project a working directory, next:
$ docker-compose up -d postgres
$ ./scripts/load-seed.sh
$ ./scripts/load-fixtures.sh
$ docker-compose up -d
You can browse in database with graphiql on this page: http://127.0.0.1:5000/graphiql
Now that the backend has been started, go to frontend/
to start the « Contact Web Frontend ».
This project use stephaneklein/poc-postgraphile-react-upload-to-s3
Docker Image, it is Postgraphile with some custom configuration and plugins.
Go to postgraphile/
to rebuild and update this Docker Image.