Skip to content

tejxsmore/vapordb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VaporDB

A blazing-fast, lightweight key-value store inspired by Redis, built with a Rust backend.

Overview

VaporDB is a modern key-value database designed for simplicity, speed, and developer productivity. All core data logic is implemented in Rust, ensuring high performance and reliability. The SvelteKit frontend provides an intuitive web interface for interacting with and visualizing your data. VaporDB is ideal for rapid prototyping, learning, and as a lightweight alternative to heavier solutions.

Features

  • Redis-like key-value operations: SET, GET, DELETE, and more
  • In-memory storage with optional persistence (configurable)
  • Simple RESTful API powered by Rust
  • Web UI built with SvelteKit for easy data management
  • Optional TTL (time-to-live) for expiring keys
  • Easy to deploy and cross-platform

Getting Started

Prerequisites

Clone the repository

git clone https://github.com/tejxsmore/vapordb.git
cd vapordb

Backend: Build & Run

cd backend
cargo build --release
cargo run

The server will start (default: localhost:8080).

Frontend: Start Dev Server

cd frontend
npm install
npm run dev

Visit http://localhost:5173 to access the UI.

Usage

You can interact with VaporDB via:

  • The SvelteKit web UI
  • REST API endpoints (e.g., /set, /get, /delete)

Example API Usage

POST /set
{
  "key": "username",
  "value": "alice",
  "ttl": 60
}
GET /get?key=username

Contributing

Contributions are welcome! Please open issues or submit pull requests for new features, bug fixes, or improvements.

License

MIT License

About

High performance, in-memory database written in rust used for quick response. Low-latency reads and writes and high throughput, making it ideal for performance-critical applications.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages