Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 561 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 561 Bytes

Spidey DB

Simple in-memory graph database

How to run

  1. make build
  2. ./build/spidey-db

Spidey listens on port 6425

How to communicate

Spidey communicates via RESP, so redis-cli will work or you can communicate over TCP

With redis-cli

redis-cli -p 6425

Supported Commands

  • COMMAND
  • PING
  • SETVERTEX [key] [value]
  • DELVERTEX [key]
  • GETVERTEX [key]
  • SETEDGE [vertex-key] [vertex-key]
  • DELEDGE [vertex-key] [vertex-key]
  • GETGRAPH
  • GETNEIGHBORS [vertex-key] [distance]