MicroDB REST API wrapper for Node.js
https://www.microdb.co is data-as-a-service for applications.
npm install microdb-api
Create a envVars.txt file with these values.
- MICRODB_APIKEY = your_db_apikey_from_microdb
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:[];
}
});