graphback
Auto generate resolvers on top of the graphql and database of your choice
Last updated 4 days ago by aerogear-ci .
Apache-2.0 · Original npm · Tarball · package.json
$ cnpm install graphback 
SYNC missed versions from official npm registry.

Graphback


Auto generate database structure,
GraphQL Resolvers and Queries from GraphQL types ????

Motivation

Graphback helps you to kickstart your experience with any existing GraphQL implementation by generating backend and client side CRUD layer using your GraphQL data model.

Documentation: https://graphback.dev

Repository: https://github.com/aerogear/graphback/

Graphback usage

Graphback package provides programatic API for the Graphback ecosystem. In most of the cases you can use graphback by utilizing graphback-cli package that will expose all useful commands and cover most of the use cases.

Graphback package provides two ways to initialize entire ecosystem from the code

  • GraphbackRuntime
  • GraphbackGenerator

GraphbackGenerator

Graphback generator can be used to initialize Graphback plugins that will transform schema and generate source code. Graphback Generator will utilize GraphQL-Config with underlying plugins

  const config = await loadConfig({
    rootDir: process.cwd(),
    extensions: [graphbackConfigExtension]
  });
  const project = config.getProject('default')
  const graphbackConfig = project.extension('graphback');

  const generator = new GraphbackGenerator(schemaDocument, graphbackConfig)
  generator.generateSourceCode();

For full usage please check: https://github.com/aerogear/graphback/blob/master/packages/graphback-cli/src/components/generate.ts#L42-L43

Graphback Runtime

Runtime class allows to initialize Graphback CRUD layer without code generation. All resolvers and schema are created in-memory

For full usage and examples please check runtime example application https://github.com/aerogear/graphback/tree/master/templates/ts-apollo-runtime-backend

Current Tags

  • 0.10.0-rc2                                ...           dev (8 months ago)
  • 0.15.1                                ...           latest (4 days ago)
  • 0.16.0-alpha1                                ...           next (a day ago)

74 Versions

  • 0.16.0-alpha1                                ...           a day ago
  • 0.15.1                                ...           4 days ago
  • 0.15.0                                ...           5 days ago
  • 0.15.0-alpha1                                ...           8 days ago
  • 0.14.1                                ...           8 days ago
  • 0.14.0                                ...           15 days ago
  • 0.14.0-beta6                                ...           20 days ago
  • 0.14.0-beta5                                ...           22 days ago
  • 0.14.0-beta4                                ...           a month ago
  • 0.14.0-beta3                                ...           a month ago
  • 0.14.0-beta1                                ...           a month ago
  • 0.14.0-alpha14                                ...           a month ago
  • 0.14.0-alpha13                                ...           a month ago
  • 0.14.0-alpha12                                ...           a month ago
  • 0.14.0-alpha11                                ...           a month ago
  • 0.14.0-alpha10                                ...           a month ago
  • 0.14.0-alpha9                                ...           a month ago
  • 0.14.0-alpha8                                ...           a month ago
  • 0.14.0-alpha7                                ...           a month ago
  • 0.14.0-alpha6                                ...           a month ago
  • 0.14.0-alpha5                                ...           2 months ago
  • 0.14.0-alpha4                                ...           2 months ago
  • 0.14.0-alpha3                                ...           2 months ago
  • 0.12.1                                ...           2 months ago
  • 0.14.0-alpha2                                ...           2 months ago
  • 0.14.0-alpha1                                ...           2 months ago
  • 0.14.0-dev3                                ...           2 months ago
  • 0.14.0-dev2                                ...           2 months ago
  • 0.14.0-dev1                                ...           3 months ago
  • 0.12.0                                ...           3 months ago
  • 0.11.4                                ...           4 months ago
  • 0.11.3                                ...           4 months ago
  • 0.11.2                                ...           5 months ago
  • 0.11.1                                ...           5 months ago
  • 0.11.0                                ...           5 months ago
  • 0.11.0-rc6                                ...           5 months ago
  • 0.11.0-rc5                                ...           5 months ago
  • 0.11.0-rc4                                ...           5 months ago
  • 0.11.0-rc3                                ...           5 months ago
  • 0.11.0-rc2                                ...           5 months ago
  • 0.11.0-dev3                                ...           5 months ago
  • 0.11.0-dev2                                ...           5 months ago
  • 0.11.0-rc1                                ...           6 months ago
  • 0.11.0-alpha1                                ...           6 months ago
  • 0.10.2                                ...           7 months ago
  • 0.10.1                                ...           7 months ago
  • 0.10.0                                ...           7 months ago
  • 0.10.0-rc3                                ...           7 months ago
  • 0.10.0-rc2                                ...           8 months ago
  • 0.10.0-dev2                                ...           9 months ago
  • 0.9.6                                ...           9 months ago
  • 0.9.5                                ...           9 months ago
  • 0.10.0-dev1                                ...           9 months ago
  • 0.9.4                                ...           9 months ago
  • 0.9.3                                ...           9 months ago
  • 0.9.2                                ...           10 months ago
  • 0.9.1                                ...           10 months ago
  • 0.9.0                                ...           10 months ago
  • 0.8.3                                ...           a year ago
  • 0.8.2                                ...           a year ago
  • 0.8.1                                ...           a year ago
  • 0.8.0                                ...           a year ago
  • 0.7.2                                ...           a year ago
  • 0.7.1                                ...           a year ago
  • 0.7.0                                ...           a year ago
  • 0.6.0                                ...           a year ago
  • 0.5.0                                ...           a year ago
  • 0.4.0                                ...           a year ago
  • 0.3.2                                ...           a year ago
  • 0.3.1                                ...           a year ago
  • 0.3.0                                ...           a year ago
  • 0.2.0                                ...           a year ago
  • 0.1.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
Downloads
Today 0
This Week 275
This Month 336
Last Day 102
Last Week 662
Last Month 2,084
Dev Dependencies (10)

Copyright 2014 - 2016 © taobao.org |