Yet Another C(rappy) DataBase is a database built from scratch in C. It is heavily inspired by SQLite and would not have been possible without their documentation.
Currently, YACDB remains a very simple database, but it is planned to add more features in the future.
Supported features:
-
Creation of tables
-
Insertion of rows
-
Selection of rows, with or without conditions
YACDB was built as a client/server database so you can use it remotely.
YACDB also implements a limited cache system to speed up the database access.
YACDB can be built using CMake.
We have provided some utility scripts to help you with the build process.
- Clone the repositiory
git clone https://github.com/Garfield1002/yacdb.git
cd yacdb
- Setup & Build (server-side)
sh server-side/setup.sh && sh server-side/build.sh
- Build (client-side)
make -C client-side all
- Launch the server
server-side/server
- Launch any number of clients
client-side/client
The available commands can be found in the documentation under the Query Format section.
It is possible to execute a series of query stored in a file :
client-side/client file_path
If the server is running, this will send the instruction to the server and execute them.
Detailed documentation is available on the github page.
It was bult using Doxygen and Doxygen-Awesome.