Home

Installation

Installation is done via GraphQL Editor or by just using an npm package name and providing a resolver path to the node_modules path. The other way is to simply install it via GraphQL Editor:

{% code title="package.json" %}

{
  "dependencies": {
    "gei-crud": "0.0.2"
  }
}

{% endcode %}

{% code title="stucco.json" %}

{
  "resolvers": {
    "Query.objects": {
      "resolve": {
        "name": "node_modules/gei-crud/lib/Query/objects"
      },
      "data": {
        "model": {
          "value": "Pizza"
        }
      }
    }
  }
}

{% endcode %}