https://github.com/sim51/apollo-grand-plugin
apollo-grand-plugin
https://github.com/sim51/apollo-grand-plugin
Last synced: about 2 months 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T04:29:50.000Z (over 2 years ago)
- Last Synced: 2025-02-10T21:38:46.818Z (4 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
[](https://oclif.io)
[](https://npmjs.org/package/apollo-grand-plugin)
[](https://npmjs.org/package/apollo-grand-plugin)
[](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