Giter VIP home page Giter VIP logo

graphql-architect's Introduction

Please open a Github issue to submit any feedback you have.

GraphQL Architect

A Neo4j Graph App for building and deploying GraphQL APIs backed by Neo4j.

GraphQL Architect

Install

To install in Neo4j Desktop open this deeplink in your web browser:

neo4j-desktop://graphapps/install?url=https://registry.npmjs.org/@grandstack/graphql-architect

Or paste the following URL into the "Graph Application" Install form field in Neo4j Desktop:

https://registry.npmjs.org/@grandstack/graphql-architect

If you don't have Neo4j Desktop installed you can download it from the Neo4j download center.

Features

Query with GraphiQL

graphql-architect's People

Contributors

johnymontana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

briansu2004

graphql-architect's Issues

GraphQL Architect Error

Hello Everyone,

I'm trying to replicate the creation of a Real Estate Search App, but I'm having an error when trying to start GraphQL Architect from my schema, does anyone know how to solve it?

Image of error

viewing the cypher queries?

not sure if I'm missing it but I can't find a way to view the cypher queries in graphql-architect

i posted the background on why I want to view the queries,

viewing the resolver's cypher

regardless it seems like a good feature and or a doco update if it already exists

thanks (really appreciate the existing functionality, very helpful)

MODULE_NOT_FOUND error

I get this error in js console when starting the app:

ArchitectReality.ts:72 internal/modules/cjs/loader.js:625
  throw e;
  ^

Error: No valid exports main found for '/Users/keesv/Library/Application Support/Neo4j Desktop/Application/graphApps/grandstack/graphql-architect/dist/node_modules/uuid'
    at resolveExportsTarget (internal/modules/cjs/loader.js:622:9)
    at applyExports (internal/modules/cjs/loader.js:499:14)
    at resolveExports (internal/modules/cjs/loader.js:548:12)
    at Function.Module._findPath (internal/modules/cjs/loader.js:654:22)
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:953:27)
    at Function.Module._load (internal/modules/cjs/loader.js:859:27)
    at Module.require (internal/modules/cjs/loader.js:1028:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object.<anonymous> (/Users/keesv/Library/Application Support/Neo4j Desktop/Application/graphApps/grandstack/graphql-architect/dist/node_modules/apollo-engine-reporting/dist/agent.js:26:16)
    at Module._compile (internal/modules/cjs/loader.js:1139:30) {
  code: 'MODULE_NOT_FOUND'
}

I am running on a mac, can it be security settings? When I started the app it asked me multiple times to run java and node.js in the background.
Can it be something with the Permissions?

Laggy

Absolutely love the idea of this project, but I'm running into a good bit of lag when running it.

Are there any settings to tweak, Java versions to check, etc that may help diagnose and fix?

Thanks!

Error "Boolean cannot represent a non boolean value: true" on app start

When opening the app on Neo4j Desktop the following two errors appear:

Error 0!
Boolean cannot represent a non boolean value: "true"

Error 1!
Boolean cannot represent a non boolean value: "true"

OS: MacOS Big Sur 11.2.1
Neo4j Desktop Version 1.4.2 (1.4.2.48)
Server: Neo4j 4.2.3 enterprise.

Cant Install

wont install there is a problem with url link provided

Unable to start GraphQL server in GraphQL Architect

I'm new to Neo4J & attempting to start up a GraphQL server from within Neo4J Desktop, however when opened it reports "Local GraphQL server not running".

When I click the 'Start' button, shortly afterwards I see INFO :: Local Graph Process Exit in the log window below the button.

And the LH panel just displays "Loading" spinner permanently.

Entries from the main.logโ€ฆ


[2021-06-20 13:52:34.723] [info] Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-06-20 13:52:34.824] [info] Online check response: 200 version: 1.4.5
files
[2021-06-20 13:52:45.819] [info] Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-06-20 13:52:45.912] [info] Online check response: 200 version: 1.4.5
files
[2021-06-20 13:52:49.727] [error] Failed to send event to Desktop Project mixpanel MemoryInfo {
  event: '@grandstack/graphql-architect:desktop_startup-workspace_data',
  properties: MemoryInfo {
    graphPlatformId: 'neo4j-desktop',
    graphPlatformVersion: '1.4.5',
    platform: 'darwin',
    platformVersion: '10.15.7',
    distinct_id: 'client-[redacted]',
    appId: '@grandstack/graphql-architect',
    appVersion: '1.4.5',
    databaseId: 'database-[redacted]',
    dbmsName: 'Movies',
    dbmsVersion: '4.2.1',
    dbmsEdition: 'enterprise',
    token: '[redacted]]',
    mp_lib: 'node'
  }
}
[2021-06-20 13:52:49.885] [info] Executing node graphql inferschema --neo4j-user neo4j --neo4j-uri bolt://localhost:7687 --neo4j-password movies  --database neo4j
[2021-06-20 13:52:50.440] [error] Failed to send event to Desktop Project mixpanel {
  event: '@grandstack/graphql-architect:graphiql-save',
  properties: {
    graphPlatformId: 'neo4j-desktop',
    graphPlatformVersion: '1.4.5',
    platform: 'darwin',
    platformVersion: '10.15.7',
    distinct_id: 'client-[redacted]',
    appId: '@grandstack/graphql-architect',
    appVersion: '1.4.5',
    databaseId: 'database-[redacted]',
    dbmsName: 'neo4j',
    dbmsVersion: '4',
    token: '[redacted]]',
    mp_lib: 'node'
  }
}
[2021-06-20 13:52:50.443] [error] Failed to send event to Desktop Project mixpanel {
  event: '@grandstack/graphql-architect:typedefs-infer',
  properties: {
    graphPlatformId: 'neo4j-desktop',
    graphPlatformVersion: '1.4.5',
    platform: 'darwin',
    platformVersion: '10.15.7',
    distinct_id: 'client-[redacted]',
    appId: '@grandstack/graphql-architect',
    appVersion: '1.4.5',
    databaseId: 'database-[redacted]',
    dbmsName: 'neo4j',
    dbmsVersion: '4',
    token: '[redacted]]',
    mp_lib: 'node'
  }
}
[2021-06-20 13:52:51.519] [info] Process [81815] exit with code '0', signal 'null'
[2021-06-20 13:52:51.540] [error] Failed to send event to Desktop Project mixpanel {
  event: '@grandstack/graphql-architect:graphiql-save',
  properties: {
    graphPlatformId: 'neo4j-desktop',
    graphPlatformVersion: '1.4.5',
    platform: 'darwin',
    platformVersion: '10.15.7',
    distinct_id: 'client-[redacted]',
    appId: '@grandstack/graphql-architect',
    appVersion: '1.4.5',
    databaseId: 'database-[redacted]',
    dbmsName: 'neo4j',
    dbmsVersion: '4',
    token: '[redacted]]',
    mp_lib: 'node'
  }
}
[2021-06-20 13:53:00.454] [info] Executing node graphql dev --types type Person {
  name: String
  age: Int
  worksFor: [Company] @relation(name: "WORKS_FOR", direction: "OUT")
}

type Company {
  name: String
  employees: [Person] @relation(name: "WORKS_FOR", direction: "IN")
} --neo4j-user neo4j --neo4j-uri bolt://localhost:7687 --neo4j-password movies --graphql-port 4000  --database neo4j
[2021-06-20 13:53:01.606] [error] Failed to send event to Desktop Project mixpanel {
  event: '@grandstack/graphql-architect:localServer-start',
  properties: {
    graphPlatformId: 'neo4j-desktop',
    graphPlatformVersion: '1.4.5',
    platform: 'darwin',
    platformVersion: '10.15.7',
    distinct_id: 'client-[redacted]',
    appId: '@grandstack/graphql-architect',
    appVersion: '1.4.5',
    databaseId: 'database-[redacted]',
    dbmsName: 'neo4j',
    dbmsVersion: '4',
    token: '[redacted]]',
    mp_lib: 'node'
  }
}
[2021-06-20 13:53:03.650] [info] Process [81987] exit with code '0', signal 'null'
[2021-06-20 13:53:14.733] [info] Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-06-20 13:53:14.866] [info] Online check response: 200 version: 1.4.5
files

OS: MacOS 10.15.7 (19H1217)
Neo4J Desktop: 1.4.5 (1.4.5.55)
Running as a non-admin with sudo permissions

Graph Application Graphql Architect failed to install

I tried to install GraphQL Architect by pasting https://registry.npmjs.org/@grandstack/graphql-architect in the Graph Apps Install field, but an error pops up with "Graph Application Graphql Architect failed to install"

When I look at the log.log for my Neo4j Desktop, it says
[2020-07-31 09:38:01.874] [warn] ERROR: {"error":"404 - Not found","url":"https://registry.npmjs.org/@grandstack/graphql-architect"} [2020-07-31 09:38:01.875] [error] Graph app installation failed undefined

Not sure what's going on since the URL seems correct and I can install various other graph apps.

Using Neo4j Desktop 1.3.3 @ Windows_NT 10.0.17763

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.