Socket
Socket
Sign inDemoInstall

bitabase-gateway

Package Overview
Dependencies
84
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.0 to 1.5.1

2

index.js

@@ -20,3 +20,3 @@ if (process.env.NODE_ENV === 'development') {

Commands:
start Start the bitabase manager stack
start Start the bitabase gateway stack
--bind-host Hostname to bind server to (default: 0.0.0.0)

@@ -23,0 +23,0 @@ --bind-port Port to bind server to (default: 8001)

{
"name": "bitabase-gateway",
"version": "1.5.0",
"version": "1.5.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -11,2 +11,46 @@ # bitabase - Gateway

## Getting Started
### From the CLI
Running the following:
```bash
npm install --global bitabase-gateway
bitabase-gateway --help
```
Will output the below:
```bash
📦 Bitabase-Gateway - v1.5.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 gateway stack
--bind-host Hostname to bind server to (default: 0.0.0.0)
--bind-port Port to bind server to (default: 8001)
--rqlite-addr Path to contact rqlite
--secret The internal request secret
--account-mapper The regex to take the account from the incoming host (default: (.*).bitabase.test)
No command specified
```
You can start a bitabase gateway server by running:
```bash
bitabase-gateway start
```
### From NodeJS
```javascript
const bitabaseServer = require('bitabase-gateway/server');
const server = bitabasegateway({
bindHost: '0.0.0.0'
});
server.start();
```
## Endpoints

@@ -13,0 +57,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc