Skip to content

thedgbrt/graphql-importer

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.

Releases

No releases published

Packages

No packages published