Skip to content

Latest commit

 

History

History

graphql-proxy-server

Event Helsinki GraphQL proxy

Development with Docker

To build the project, you will need Docker.

Building the project

cp .env.example .env
docker-compose build

Starting the application

docker-compose up -d

GraphQL playground will run on http://localhost:4000/proxy/graphql

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:4000/proxy/graphql to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner

yarn build

Builds the app for production to the build folder.

yarn start

Runs the graphql proxy in the production mode. Open http://localhost:4000/proxy/graphql to view it in the browser.

yarn lint

Run eslint to all files on

yarn format-code

Fix all the eslint errors