All Projects → webmaxru → angular-neo4j

webmaxru / angular-neo4j

Licence: other
Neo4j Bolt driver wrapper for Angular

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to angular-neo4j

seabolt
Neo4j Bolt Connector for C
Stars: ✭ 37 (+105.56%)
Mutual labels:  neo4j, neo4j-driver, graph-database, cypher
Neo4j Python Driver
Neo4j Bolt driver for Python
Stars: ✭ 607 (+3272.22%)
Mutual labels:  neo4j, graph-database, cypher
neo4rs
Neo4j driver for rust
Stars: ✭ 41 (+127.78%)
Mutual labels:  neo4j, neo4j-driver, cypher
Movies Javascript Bolt
Neo4j Movies Example with webpack-in-browser app using the neo4j-javascript-driver
Stars: ✭ 123 (+583.33%)
Mutual labels:  neo4j, graph-database, cypher
ml-models
Machine Learning Procedures and Functions for Neo4j
Stars: ✭ 63 (+250%)
Mutual labels:  neo4j, graph-database, cypher
NeoClient
🦉 Lightweight OGM for Neo4j which support transactions and BOLT protocol.
Stars: ✭ 21 (+16.67%)
Mutual labels:  neo4j, graph-database, cypher
Neo4j
Graphs for Everyone
Stars: ✭ 9,582 (+53133.33%)
Mutual labels:  neo4j, graph-database, cypher
Neo4j Graph Algorithms
Efficient Graph Algorithms for Neo4j
Stars: ✭ 713 (+3861.11%)
Mutual labels:  neo4j, graph-database, cypher
Neo4j Tableau
Neo4j Tableau Integration via WDC
Stars: ✭ 56 (+211.11%)
Mutual labels:  neo4j, graph-database, cypher
Neo4j Etl
Data import from relational databases to Neo4j.
Stars: ✭ 165 (+816.67%)
Mutual labels:  neo4j, graph-database, cypher
Movies Python Bolt
Neo4j Movies Example application with Flask backend using the neo4j-python-driver
Stars: ✭ 197 (+994.44%)
Mutual labels:  neo4j, graph-database, cypher
neo4j.cr
Pure-Crystal implementation of Neo4j's Bolt protocol
Stars: ✭ 29 (+61.11%)
Mutual labels:  neo4j, neo4j-driver, graph-database
Public-Transport-SP-Graph-Database
Metropolitan Transport Network from São Paulo mapped in a NoSQL graph database.
Stars: ✭ 25 (+38.89%)
Mutual labels:  neo4j, graph-database, cypher
Neo4j 3d Force Graph
Experiments with Neo4j & 3d-force-graph https://github.com/vasturiano/3d-force-graph
Stars: ✭ 159 (+783.33%)
Mutual labels:  neo4j, graph-database, cypher
OGMNeo
[No Maintenance] Neo4j nodeJS OGM(object-graph mapping) abstraction layer
Stars: ✭ 54 (+200%)
Mutual labels:  neo4j, neo4j-driver, cypher
R2d2 Cypher
Cypher support for the r2d2 connection pool
Stars: ✭ 8 (-55.56%)
Mutual labels:  neo4j, graph-database, cypher
Movies Java Bolt
Neo4j Movies Example application with SparkJava backend using the neo4j-java-driver
Stars: ✭ 66 (+266.67%)
Mutual labels:  neo4j, graph-database, cypher
neo4j-faker
Use faker cypher functions to generate demo and test data with cypher
Stars: ✭ 30 (+66.67%)
Mutual labels:  neo4j, graph-database, cypher
Neo4j Core
A simple unified API that can access both the server and embedded Neo4j database. Used by the neo4j gem
Stars: ✭ 99 (+450%)
Mutual labels:  neo4j, graph-database
Activegraph
An active model wrapper for the Neo4j Graph Database for Ruby.
Stars: ✭ 1,329 (+7283.33%)
Mutual labels:  neo4j, graph-database

Neo4j Bolt driver wrapper for Angular

Use Neo4j Bolt driver for JavaScript from your Angular application. A special browser version of the driver supports connecting to Neo4j over WebSockets.

Installation

To install this library, run:

$ npm install angular-neo4j --save
import { AngularNeo4jModule } from 'angular-neo4j';

@NgModule({
  imports: [
    AngularNeo4jModule
  ]
})
export class AppModule { }

Usage

The module includes a service and a design-free component using this service: login form and query form. You are welcome to use this component as a foundation for your custom one.

The fastest way to test everything:

  <angular-neo4j></angular-neo4j>

Use the service in your own component:

  import { AngularNeo4jService } from './angular-neo4j.service';
  ...
  constructor(private neo4j: AngularNeo4jService) {}
  • connect( url: string, username: string, password: string, encrypted?: boolean ) - Connect to your Neo4j instance. Returns a promise with a driver instance.
  const url = 'bolt://localhost:7687';
  const username = 'neo4j';
  const password = 'neo4j';
  const encrypted = true;

  this.neo4j
      .connect(
        url,
        username,
        password,
        encrypted
      )
      .then(driver => {
        if (driver) {
          console.log(`Successfully connected to ${url}`);
        }
      });
  • run( query: string, params?: object) - Run the query with parameters. Returns a promise with array of records.
  const query = 'MATCH (n:USER {name: {name}}) RETURN n';
  const params = { name: 'bob' };

  this.neo4j.run(query, params).then(res => {
      console.log(res);
    });
  • disconnect() - Close the active driver.
  this.neo4j.disconnect()

Note on security

Do not hardcode your Neo4j username and password in the Angular app - always use login form to authenticate.

License

MIT © Maxim Salnikov

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].