1.0.6 • Published 3 years ago

microdb-api v1.0.6

Weekly downloads
9
License
Apache-2.0
Repository
github
Last release
3 years ago

microdb-api

MicroDB REST API wrapper for Node.js

https://www.microdb.co is data-as-a-service for applications.

Install

npm install microdb-api

Set API key and output folder

Create a envVars.txt file with these values. 
- MICRODB_APIKEY = your_db_apikey_from_microdb

Usage

var microdb = require('microdb-api')(process.env.MICRODB_APIKEY);

microdb.Tables.account.get({ 'email': 'email@domain_name.com' }).then(function (res) {
    if (res.success){
      var user = res.data && res.data.Rows? res.data.Rows:[];
    }
  });
1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago