Skip to content
This repository was archived by the owner on May 26, 2022. It is now read-only.

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

resourceful.js

Connect REST'ful API's to your Angular App

Why Resourceful.js

Resourceful.js is designed with the following goals:

  1. Up-front configuration. Define your resources once and re-use them again and again.
```
var User = Resourceful.resource('users');
var Message = User.resource('messages');
```
  1. Simple find/create symantics for manipulating resources:
```
var user = User.find(2);
user.name = 'joey';
user.save();
user.messages.create({body: 'Hello'})
```
  1. Creating services for your resources is trivial
```
factory('User', [function(Resourceful){
  return Resourceful.resource('users');
})
```
  1. Built-in support for singular resources (http://guides.rubyonrails.org/v2.3.11/routing.html#singular-resources)

Getting Started

Installation

npm install

bower install

karma start test/karma.js

Usage

TBD. See src/resourceful.js for current WIP

About

Connect REST'ful API's to your Angular App

Resources

Stars

1 star

Watchers

6 watching

Forks

Releases

Packages

Used by

Contributors

Languages