RedisGraph / Redisgraph.js
Licence: bsd-3-clause
A Javascript client for RedisGraph
Stars: ✭ 84
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Redisgraph.js
Ioredis
🚀 A robust, performance-focused, and full-featured Redis client for Node.js.
Stars: ✭ 9,754 (+11511.9%)
Mutual labels: redis
Pybbs
更实用的Java开发的社区(论坛),Better use of Java development community (forum)
Stars: ✭ 1,242 (+1378.57%)
Mutual labels: redis
Community
一个仿照牛客网实现的讨论社区,不仅实现了基本的注册,登录,发帖,评论,点赞,回复功能,同时使用前缀树实现敏感词过滤,使用wkhtmltopdf生成长图和pdf,实现网站UV和DAU统计,并将用户头像等信息存于七牛云服务器。
Stars: ✭ 80 (-4.76%)
Mutual labels: redis
1store
NoSQL data store using the SEASTAR framework, compatible with Redis
Stars: ✭ 1,212 (+1342.86%)
Mutual labels: redis
Dramatiq dashboard
A dashboard for dramatiq, specific to its Redis broker.
Stars: ✭ 82 (-2.38%)
Mutual labels: redis
Butterfly
🔥 蝴蝶--【简单】【稳定】【好用】的 Python web 框架🦋 除 Python 2.7,无其他依赖; 🦋 butterfly 是一个 RPC 风格 web 框架,同时也是微服务框架,自带消息队列通信机制实现分布式
Stars: ✭ 82 (-2.38%)
Mutual labels: redis
Exq
Job processing library for Elixir - compatible with Resque / Sidekiq
Stars: ✭ 1,218 (+1350%)
Mutual labels: redis
Bankflix
Aplicação que simula um banco digital, contendo a área do cliente e administrativa, permitindo depósitos e transferências entre contas do mesmo banco. | Application that simulates a digital bank, containing the customer and administrative areas, allowing deposits and transfers between accounts of the same bank.
Stars: ✭ 82 (-2.38%)
Mutual labels: redis
Cs Books
超过1000本的计算机经典书籍、个人笔记资料以及本人在各平台发表文章中所涉及的资源等。书籍资源包括C/C++、Java、Python、Go语言、数据结构与算法、操作系统、后端架构、计算机系统知识、数据库、计算机网络、设计模式、前端、汇编以及校招社招各种面经~
Stars: ✭ 1,215 (+1346.43%)
Mutual labels: redis
redisgraph.js
RedisGraph JavaScript Client - API Docs
Installation
Installation is done using the
npm install
command:
npm install redisgraph.js
For installing the latest snapshot use
npm install github:RedisGraph/redisgraph.js.git
Overview
Example: Using the JavaScript Client
const RedisGraph = require("redisgraph.js").Graph;
let graph = new RedisGraph("social");
(async () =>{
await graph.query("CREATE (:person{name:'roi',age:32})");
await graph.query("CREATE (:person{name:'amit',age:30})");
await graph.query("MATCH (a:person), (b:person) WHERE (a.name = 'roi' AND b.name='amit') CREATE (a)-[:knows]->(b)");
// Match query.
let res = await graph.query("MATCH (a:person)-[:knows]->(:person) RETURN a.name");
while (res.hasNext()) {
let record = res.next();
console.log(record.get("a.name"));
}
console.log(res.getStatistics().queryExecutionTime());
// Match with parameters.
let param = {'age': 30};
res = await graph.query("MATCH (a {age: $age}) return a.name", param);
while (res.hasNext()) {
let record = res.next();
console.log(record.get("a.name"));
}
// Named paths matching.
res = await graph.query("MATCH p = (a:person)-[:knows]->(:person) RETURN p");
while (res.hasNext()) {
let record = res.next();
// See path.js for more path API.
console.log(record.get("p").nodeCount);
}
graph.deleteGraph();
graph.close();
})();
Running tests
A simple test suite is provided, and can be run with:
$ npm test
The tests expect a Redis server with the RedisGraph module loaded to be available at localhost:6379
License
redisgraph.js is distributed under the BSD3 license - see LICENSE
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].