Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

A tiny effort towards creating a decentralized graph database management system for rapid prototyping.

License

Notifications You must be signed in to change notification settings

beastOP/decentralized-grqphdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decentralised graph database management system

To get started

clone the repo, and run the command below.

python3 database.py

Now, create a new terminal instance and run the following command.

python3 database.py -p 50002 -i Bmz9

-p is for specifing port (but, please stick with 50002 for this to work) and -i is for specifing a instance id for this database instance. Then run,

pip install flask
python3 server.py

To add data

Run the following request,

curl -H 'Content-Type: application/json' http://127.0.0.1:5000/add -XPOST -d '{"data": {"username": "beastOP"}, "lable":["git_users"]}'

and to get the data run

curl http://127.0.0.1:5000/match

About

A tiny effort towards creating a decentralized graph database management system for rapid prototyping.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages