Last active
April 6, 2021 10:51
-
-
Save BurnedChris/aa38f0875513dadaf23becd10514a53d to your computer and use it in GitHub Desktop.
GraphQL Mesh Implementation of ideal-postcodes.co.uk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sources: | |
- name: idealPostcodes | |
handler: | |
openapi: | |
source: https://openapi.ideal-postcodes.dev/openapi.yaml | |
baseUrl: https://api.ideal-postcodes.co.uk/v1/ | |
operationHeaders: | |
Authorization: IDEALPOSTCODES api_key="XXXXXXX" | |
serve: | |
port: 8912 | |
playground: true | |
cors: | |
origin: '*' | |
credentials: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "graphql-mesh", | |
"version": "1.0.0", | |
"main": "index.js", | |
"author": "Christopher Burns", | |
"license": "MIT", | |
"scripts": { | |
"start": "mesh serve" | |
}, | |
"dependencies": { | |
"@graphql-mesh/cli": "^0.24.1", | |
"@graphql-mesh/graphql": "^0.13.18", | |
"@graphql-mesh/openapi": "^0.12.17", | |
"@graphql-mesh/transform-cache": "^0.8.31", | |
"@graphql-mesh/transform-filter-schema": "^0.9.1", | |
"@graphql-mesh/transform-prefix": "^0.6.31", | |
"graphql": "^15.4.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment