Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kaiopiola/dodb

Directory-Oriented Database
https://github.com/kaiopiola/dodb

Last synced: about 2 months ago
JSON representation

Directory-Oriented Database

Awesome Lists containing this project

README

        

# Directory-Oriented Database

## ⚠️ In initial development! ⚠️

This is just a concept I'm working on, and it's **REALLY BUGGY** at this time, so **I don't recommend** using it in real projects for now.

You can also feel free to help me make this happen by using the [Issues](https://github.com/kaiopiola/DODB/issues) or [Discussions](https://github.com/kaiopiola/DODB/discussions) pages.

Please note that I'll be reviewing your PRs too, so you can help me code it!

## What in the world is this?
Directory-Oriented Database (Or just DODB, anyway) is my personal database engine project.

The idea is to separate our databases in folders, not .SQL files, and store tables data separated by files, our Database Tables file (.dbt).

It works just like a JSON from now, but I'm thinking on trying other ways to get the best performance as possible with this engine, my goal is to make it really fast for big data and queries.

## Dependencies
I'm developing it using Python 3.9 and Flask library.

Install this:
```bash
pip install flask
pip install requests
pip install flask-jsonpify
```

## Using it

You can perform POST requests to our project API to make operations in the database, to this URL:

`http://127.0.0.1:5000/database_name/table_name`

And contaning a json like this:
```json
{
"operation": "GET",
"filters": [
{
"key": "age", "operator": ">", "value": "80"
},
{
"key": "age", "operator": ">", "value": "7000"
}
]
}
```

There's a lot of examples in the `/test` folder, so feel free to play with it :p