Skip to content

guirisnik/graphql-rest-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL REST Wrapper

A GraphQL server wrapping IBGE API.

How it works

IBGE API provides endpoints to fetch cities given a state ID. This server acts as a GraphQL gateway to filter the API response and avoid overfetching.

Response schemas are defined in schemas/schema.graphql for just two endpoints described in the documentation.

How to run

Set the port you want the server to run on .env and then just install dependencies using npm or yarn:

npm install
yarn install

To run the server use the start script defined in package.json:

npm run start

or

yarn start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published