Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/city-of-helsinki/events-helsinki-api-proxy

BFF (backend for frontend) for tapahtumat.helsinki
https://github.com/city-of-helsinki/events-helsinki-api-proxy

Last synced: about 1 month ago
JSON representation

BFF (backend for frontend) for tapahtumat.helsinki

Awesome Lists containing this project

README

        

# Event Helsinki GraphQL proxy

## Development with Docker

To build the project, you will need [Docker](https://www.docker.com/community-edition).

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](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:prod`

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

### `yarn codegen`
Generate graphql types from schema

### `yarn lint`

Run eslint to all files on

### `yarn format-code`

Fix all the eslint errors