cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Try to use my own dataset with Neo4j and GRANDstack

LJRB
Graph Buddy

I'm learning GRANDstack, so I dowloaded the starter with npx command.

I use Neo4j Desktop, so for the localhost in .env file I gave:

NEO4J_URI=bolt://localhost:7687
NEO4J_USER=neo4j
NEO4J_PASSWORD=letmein

I have all the files from this starter.
I already have data in my database in Neo4j Desktop.

So I changed the shema.graphql file in order to apply to my data.

I did this with 'Deploy to code Sandbox' in order to generate graphql code:

type KEYWORD {
   _id: Long!
   id: Int!
   keyword: String!
   appears_in: [ARTICLE] @relation(name: "APPEARS_IN", direction: OUT)
}

type ARTICLE {
   _id: Long!
   id: Int!
   label: String!
   seed_label: Int
   title: String!
   keywords: [KEYWORD] @relation(name: "APPEARS_IN", direction: IN)
}

I have in powershell: GraphQL server ready at http://0.0.0.0:4001/graphql
Next I tried to open the page http://0.0.0.0:4001/graphql but nothing happened.

Maybe I have to change code in other files of starter folder ?

1 REPLY 1

LJRB
Graph Buddy

I found the solution
The url to connect to playground is : http://localhost:4001/graphql
http://0.0.0.0:4001/graphql doesn't work