A lightweight, high-performance, non-relational database built in Rust.
- Incredibly lightweight and fast
- Non-relational document store
- Automatic indexing out of the box
- Highly concurrent - handles thousands of simultaneous reads and writes
- REST API for easy application integration
- Persistent storage with efficient serialization
- Rust 1.65 or later
# Clone the repository
git clone https://github.com/yourusername/zachdb.git
cd zachdb
# Build the project
cargo build --release
# Run the database
./target/release/zachdbOnce running, ZachDB will be available on http://localhost:7878 by default.
You can configure the port and other settings via command-line options or a config file.
GET /collections- List all collectionsPOST /collections- Create a new collectionDELETE /collections/{name}- Delete a collection
GET /collections/{name}/documents- List all documents in a collectionGET /collections/{name}/documents/{id}- Get a specific documentPOST /collections/{name}/documents- Create a new documentPUT /collections/{name}/documents/{id}- Update a documentDELETE /collections/{name}/documents/{id}- Delete a document
POST /collections/{name}/query- Query documents in a collection
MIT
Zach Wilke