Code Monkey home page Code Monkey logo

gremlin-ide's Introduction

Gremlin IDE

This application is a very basic development IDE for Apache Tinkerpop ™ (http://tinkerpop.apache.org/) Enabled databases built using Electron and React. With this tool you are able to perform Gremlin queries and have the data returned and displayed in one of three ways. You are able to see it as a table, the JSON, or as a node chart built on top of http://visjs.org/. This was my first attempt at a React and Electron App so any feedback you may have on how to improve it would be appreciated.

Usage

To run Gremlin IDE you need to click on the gremlin-ide application that you have downloaded.

Configuring Connections

In order to configure the connection to the database you need to press the hamburger menu in the top right of the window. This will bring you up a window where you are able to enter the appropriate parameters and click Save. This will then be persisted between sessions.

alt text

Note: Currently the error handling on incorrect database parameters does not exist so these will cause the system to crash.

Running Queries

In order to run Gremlin queries you need to type them into the provided textbox and either hit the Submit button or hit Shift + Enter while in the query box. This will then fire a query to the server, return the results and display them in the provided areas.

alt text

Known Issues

  • Currently Error Handling is only minimal so many things may cause this to freeze
  • Only servers returning GraphSON v2 are currently supported, others may be in the future
  • Only the Mac app is currently available for download
  • This has only been tested against Apache Tinkerpop's ™ TinkerGraph and Azure CosmosDB

Please feel free to file any issues you may find in this repo, or better yet fix the problem and put in a PR.

Development

This repo was cloned from this starter repo https://github.com/pbarbiero/basic-electron-react-boilerplate

To get started:

  • Run yarn install
Development
  • Run yarn run dev to start webpack-dev-server. Electron will launch automatically after compilation.
Production
  • Run yarn run package to have webpack compile your application into dist/bundle.js and dist/index.html, and then an electron-packager run will be triggered for the current platform/arch, outputting to builds/
  • To build the DMG file for a Mac remove all the unneeded files from the builds folder and run yarn run dist

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.