Giter VIP home page Giter VIP logo

dystudio / neo4j-browser Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neo4j/neo4j-browser

0.0 1.0 0.0 204.88 MB

Neo4j Browser is the general purpose user interface for working with Neo4j. Query, visualize, administrate and monitor the database.

Home Page: https://neo4j.com

License: GNU General Public License v3.0

HTML 0.74% JavaScript 1.50% CSS 1.73% Shell 0.04% Dockerfile 0.01% TypeScript 95.60% Less 0.38%

neo4j-browser's Introduction

Neo4j Browser

Neo4j Browser is the general purpose user interface for working with Neo4j. Query, visualize, administrate and monitor the database with modern and easy-to-use tools.

neo4j browser screenshot

Development setup

  1. Clone this repo
  2. Install yarn globally (not required but recommended): npm install -g yarn
  3. Install project dependencies: yarn

Development server

yarn start and point your web browser to http://localhost:8080.

Testing

yarn test to run a single test run. A linter will run first.

yarn dev to have continuous testing on every file change.

E2E Suite

yarn e2e to run the cypress js test suite (requires a fresh installation of neo4j to run against, expects neo4j 3.5 by default). yarn e2e --env server=3.3 to only run cypress js tests valid for neo4j server version 3.3.

To run on an existing server (with a password already set), you can use any of these (the default password is set to "newpassword", pass in --env browser-password=your-password):
yarn e2e-local --env server=3.4
yarn e2e-local-open --env server=3.4
The latter just opens Cypress runner so you can see the tests being executed and run only some of them. Very useful when writing tests.

There are also e2e tests that cover import from CSV files. To run these, copy the e2e_tests/files/import.csv to the import/ directory of the database you want to run the tests on and then start the e2e tests with the --env include-import-tests=true flag. Example: yarn e2e-local-open --env server=3.4,include-import-tests=true

Here are the available options / env variables:

server=3.2|3.3|3.4|3.5|4.0|4.1 (default 3.5)
edition=enterprise|community|aura (default enterprise)
browser-password=<your-pw> (default 'newpassword')
include-import-tests=true|false (default false)
bolt-url=<bolt url excluding the protocol> (default localhost:7687)

Test environment options (cannot be set using the --env flag as the ones above). These needs to be set before the test command is run.

CYPRESS_E2E_TEST_ENV=local|null (if the initial set of pw should run or not) (default undefined)
CYPRESS_BASE_URL=<url to reach the browser to test> (default http://localhost:8080)

Example: CYPRESS_E2E_TEST_ENV="local" CYPRESS_BASE_URL=http://localhost:8081 cypress open --env server=3.5

Devtools

Redux and React have useful devtools, the chrome versions are linked bellow:

neo4j-browser's People

Contributors

akollegger avatar apcj avatar benbc avatar brissmyr avatar chrisvest avatar cleishm avatar davidegrohmann avatar digitalstain avatar eve-bright avatar fylmtm avatar herremil avatar huboneo avatar irfannuri avatar ivnnv avatar jakewins avatar joknelid avatar jsoref avatar lassewesth avatar linuslundahl avatar mats-sx avatar nawroth avatar nglgzz avatar oskardamkjaer avatar oskarhane avatar pe4cey avatar pontusnyman avatar shkirando avatar systay avatar tinwelint avatar wallin avatar

Watchers

 avatar

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.