... for Vanilla JavaScript
Super simple stuff... simply enter your credentials and you're ready to go!
var selfbits = new Selfbits({
appId: 'yourAppId',
appSecret: 'yourSecret',
domain: 'https://your-api.selfbits.io',
token: localStorage.getItem('token')
});
var auth = selfbits.auth();
var user = selfbits.user();
var db = selfbits.db('todo');
var file = selfbits.file();