Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sim51/apollo-grand-plugin
apollo-grand-plugin
https://github.com/sim51/apollo-grand-plugin
Last synced: 5 days ago
JSON representation
apollo-grand-plugin
- Host: GitHub
- URL: https://github.com/sim51/apollo-grand-plugin
- Owner: sim51
- Created: 2019-05-30T10:10:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T04:29:50.000Z (about 2 years ago)
- Last Synced: 2024-10-31T02:51:33.769Z (about 2 months ago)
- Language: TypeScript
- Size: 439 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# apollo-grand-plugin
GRAND Stack plugin for Apollo CLI
[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/apollo-grand-plugin.svg)](https://npmjs.org/package/apollo-grand-plugin)
[![Downloads/week](https://img.shields.io/npm/dw/apollo-grand-plugin.svg)](https://npmjs.org/package/apollo-grand-plugin)
[![License](https://img.shields.io/npm/l/apollo-grand-plugin.svg)](https://github.com/sim51/apollo-grand-plugin/blob/master/package.json)## How to use it
First you need to have https://www.npmjs.com/package/apollo[Apollo CLI] installed : `npm install -g apollo`
Then you you can run this command to install this plugin : `apollo plugins:install https://github.com/sim51/apollo-grand-plugin`### Generate the schema
You can generate the Graphql schema from a neo4j instance just by executing this command :
`apollo grand:schema-generate -u bolt://localhost:7687 -l neo4j -p admin`
The schema will be displayed in the console.
## Todo
### Schema Generator
* Check the name of properties for relationship in & out
* Handle rels that have many nodelabels
* Add blacklist for label (and properties?)
* Scalar for date and Geo point ?
* Add the file location for writting the schema### Crud generator