New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bitabase-manager

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitabase-manager

[![Build Status](https://travis-ci.org/bitabase/bitabase-manager.svg?branch=master)](https://travis-ci.org/bitabase/bitabase-manager) [![David DM](https://david-dm.org/bitabase/bitabase-manager.svg)](https://david-dm.org/bitabase/bitabase-manager) ![GitHu

  • 2.3.8
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

bitabase - Manager

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

This is a very early attempt at an accounts management service.

Getting Started

From the CLI

Running the following:

npm install --global bitabase-manager
bitabase-manager --help

Will output the below:

📦 Bitabase-Manager - v2.2.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 manager 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
    --allow-cross-origin-domain            Allow a domain to bypass cross origin domain controls
    --password-hash-iterations             The iterations for the password hashing algorithm to use (default: 372791)

No command specified

You can start a bitabase server by running:

bitabase-manager start

From NodeJS

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

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

server.start();

Endpoints

MethodPathDescription
User
Users are entities that can login to the manager api
1.1POST/v1/usersCreate a new user
Sessions
Sessions are created by users when they login
2.1POST/v1/sessionsCreate a new session by logging in
2.2GET/v1/sessions/currentGet the user from the current session
Databases
Databases are owned by one or more users and can store multiple collections
3.1GET/v1/databasesList all databases
3.2POST/v1/databasesCreate a new database
Collections
Collections are owned by a database and store records
4.1GET/v1/databases/:databaseName/collectionsList all collections in a database
4.2POST/v1/databases/:databaseName/collectionsCreate a new collection in a database

License

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

FAQs

Package last updated on 10 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc