Skip to content

phi-jp/firerest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

firerest

ajax library for rest like firebase

var ref = Firerest.create({
  api: 'http://jsonplaceholder.typicode.com',
  cacheKey: '_token',
  tokenKey: 'Token',
  debug: true,
});

ref.child('posts').get().then(function(res) {
  console.log(res);
});