Thanks to visit codestin.com
Credit goes to github.com

Skip to content

thedgbrt/graphql-importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphQL Importer

Import JSON data via a GraphQL endpoint. Read the tutorial.

Setup

$ git clone https://github.com/thedgbrt/graphql-importer.git
$ cd graphql-importer
$ npm install

Usage

  • add desired data in import.json
  • define your GraphQL mutations in importScript.js
  • replace <YOUR-GRAPHQL-ENDPOINT> in importScript.js
  • run npm run import.

Usage with Reindex

Change mutations in importScriptReindex.js, run with npm run import-reindex.

About

Import json data via a GraphQL endpoint.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors