1.19.0 ā€¢ Published 4 years ago

bitabase-server v1.19.0

Weekly downloads
-
License
AGPL-3.0
Repository
-
Last release
4 years ago

bitabase - Server

Build Status David DM GitHub code size in bytes GitHub package.json version GitHub js-semistandard-style

This is a very early attempt at the bitabase rest server.

Getting Started

From the CLI

Running the following:

npm install --global bitabase-server
bitabase-server --help

Will output the below:

šŸ“¦ Bitabase-Server - v1.15.1
The scalable, sharded database engine.
https://docs.bitabase.com

The following commands and arguments are available when starting Bitabase

Commands:
  start                            Start the bitabase server stack
    --bind-host                    Hostname to bind server to (default: 0.0.0.0)
    --bind-port                    Port to bind server to (default: 8000)
    --rqlite-addr                  Path to contact rqlite
    --database-path                Where to store rqlite transaction log (default: /tmp/sqlite-bitabase)
    --database-keep-alive          How long to keep sqlite database connections alive

No command specified

You can start a bitabase server by running:

bitabase-server start

From NodeJS

const bitabaseServer = require('bitabase-server/server');

const server = bitabaseServer({
  bindHost: '0.0.0.0'
});

server.start();

Endpoints

License

This project is licensed under the terms of the AGPL-3.0 license.