GithubHelp home page GithubHelp logo

devansh42 / crankdb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shreybatra/crankdb

0.0 1.0 0.0 8 KB

CrankDB is a ultra fast, extreme lightweight Key Value based Document Store.

License: MIT License

Go 85.86% Dockerfile 14.14%

crankdb's Introduction

CrankDB

CrankDB is an ultra fast and very lightweight Key Value based Document Store.

Requirements

  • Golang 1.16

Steps to deploy

Using docker image (Recommended)

docker run -p 9876:9876 shreybatra/crankdb

Download binary executable

  • Download executable -
  • 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.

Using go get command

  • Download application - go get github.com/shreybatra/crankdb
  • Run server with command - crankdb

Server configuration

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

Querying and connecting to CrankDB

As this is a very early release you can use 2 ways to interact with the database -

Steps to build

  • 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

crankdb's People

Contributors

shreybatra avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.