CrankDB is an ultra fast and very lightweight Key Value based Document Store.
- Golang 1.16
- Download executable (v0.1.0-beta.1) -
- Extract tar and start server -
cd Downloads tar -xvf <downloaded_tar_file> ./crankdb
- (MacOS) You might need to allow macos to run the file via Settings and Privacy.
docker run -p 9876:9876 shreybatra/crankdb
- Download application -
go install github.com/shreybatra/crankdb@latest
- Run server with command -
crankdb
You can provide environment variables HOSTS and PORT to customize your server network binding.
Defaults -
- HOSTS=localhost (0.0.0.0 for the docker image)
- PORT=9876
As of now, we can query and use the database via the crank-cli or SDKs in the following languages -
Language | SDK/Tool | Latest Version |
---|---|---|
CLI (command line tool) | Crank CLI | v0.1.0-beta.1 |
Golang | Gocrank | v0.1.0-beta.1 |
Python | Cranky | 0.1.0b1 |
- Clone the repo and change directory to project root folder.
- Tidy dependencies using -
go mod tidy
- Build the application -
go build .
- Run the server -
./crankdb