LioranDB Tutorial: Run a Rust-Powered Document Database Locally with Docker and TypeScript
The second installment of the LioranDB TypeScript series walks developers through setting up LioranDB V2 on a local machine using Docker and connecting to it via a TypeScript application. The guide covers pulling the pre-alpha Docker image, exposing three key ports for the HTTP API, gRPC, and metrics, and using a named volume for persistent storage. Developers are instructed to install the official CLI, authenticate with a bootstrap password generated on first run, and immediately rotate it for security. The TypeScript driver, installed via npm, connects to the database using a URI-formatted connection string and supports standard operations such as inserting and querying documents. The tutorial concludes with an optional Docker Compose configuration to simplify container management going forward.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in