# graphql-api **Repository Path**: mirrors_xtuc/graphql-api ## Basic Information - **Project Name**: graphql-api - **Description**: GraphQL API for the conference. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-26 - **Last Updated**: 2026-01-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![Codeship Status for ReactFinland/graphql-api](https://app.codeship.com/projects/f27d4b30-0088-0137-84e3-2ae3d6f1076b/status?branch=master)](https://app.codeship.com/projects/324651) # GraphQL API for React Finland 2018 Simple GraphQL API for the conference. To see the query API: 1. `NODE_ENV="development" npm start` 2. `http://localhost:3000/graphql-2018` or `http://localhost:3000/calendar-2018.ics` (calendar) **Example query:** ```graphql { pages { id title description } partners { name } organizers { name location { country { name code } } } speakers { name keywords presentations { day title description } } schedules { day intervals { begin end sessions { description } } } tickets { name link } page(id: "about") { intro } allSeries { name conferences { name } } } ``` ## Image Processing The images are pushed to [Cloudinary](https://cloudinary.com/) and it's used as our image CDN. Remember to set `.env` for local development if you want to use images: **.env** ``` CLOUDINARY_CLOUD_NAME=react-finland CLOUDINARY_API_KEY= CLOUDINARY_API_SECRET= ``` Also remember to set the same on the host of the API. > You can access images through `http://localhost:3000/graphql-2018/images`. Example: `http://localhost:3000/graphql-2018/images/ken.jpg`. ## Webhooks ### Heroku to Netlify The API has been connected to the site using a webhook so that it builds whenever the API changes: - `heroku config:set REBUILD_SITES= -a react-finland-api` > Remember to run the server in production mode. That will enable site rebuilding hook!