A blazing-fast, lightweight key-value store inspired by Redis, built with a Rust backend.
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.
- 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
Prerequisites
Clone the repository
git clone https://github.com/tejxsmore/vapordb.git
cd vapordbBackend: Build & Run
cd backend
cargo build --release
cargo runThe server will start (default: localhost:8080).
Frontend: Start Dev Server
cd frontend
npm install
npm run devVisit http://localhost:5173 to access the UI.
You can interact with VaporDB via:
- The SvelteKit web UI
- REST API endpoints (e.g.,
/set,/get,/delete)
POST /set
{
"key": "username",
"value": "alice",
"ttl": 60
}GET /get?key=usernameContributions are welcome! Please open issues or submit pull requests for new features, bug fixes, or improvements.
MIT License