mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Write documentation for neo4j-graphql-js
This commit is contained in:
parent
985e23c5b4
commit
28e1ff9f55
@ -6,6 +6,7 @@
|
|||||||
* [Neo4J](neo4j/README.md)
|
* [Neo4J](neo4j/README.md)
|
||||||
* [Backend](backend/README.md)
|
* [Backend](backend/README.md)
|
||||||
* [GraphQL](backend/graphql.md)
|
* [GraphQL](backend/graphql.md)
|
||||||
|
* [neo4j-graphql-js](backend/neo4j-graphql-js.md)
|
||||||
* [Webapp](webapp/README.md)
|
* [Webapp](webapp/README.md)
|
||||||
* [Components](webapp/components.md)
|
* [Components](webapp/components.md)
|
||||||
* [HTML](webapp/html.md)
|
* [HTML](webapp/html.md)
|
||||||
|
|||||||
16
backend/neo4j-graphql-js.md
Normal file
16
backend/neo4j-graphql-js.md
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# neo4j-graphql.js
|
||||||
|
|
||||||
|
We use an npm package called `neo4j-graphql-js` as a cypher query builder. This
|
||||||
|
library also generates resolvers for graphql queries, unless we implement it
|
||||||
|
ourselves.
|
||||||
|
|
||||||
|
|
||||||
|
## Debugging
|
||||||
|
|
||||||
|
As you can see in their [documentation](https://github.com/neo4j-graphql/neo4j-graphql-js)
|
||||||
|
it is possible to log out the generated cypher statements. To do so, run the
|
||||||
|
backend like this:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
DEBUG=neo4j-graphql-js yarn run dev
|
||||||
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user