/poc-postgraphile-react-upload-to-s3

Dummy Contact application based on Postgraphile + ReactJS

Primary LanguageJavaScript

Dummy Contact application based on Postgraphile + ReactJS with GraphQL file upload support

GraphQL file upload is based on:

Attachments files are stored in Minio Object Storage server (compatible with S3 API).

Prerequisites

Homebrew instructions:

$ brew cask install docker
$ brew install git node yarn

Getting started

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 ».

Postgraphile custom image

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.