Installation

In config/routes.rb at the end of routes declarations include:

EasyDataRouting.routes

After, in [RAILS_HOME]/Rakefile copy this line:

 require "easy_data/tasks" 

At the end, execute the next task:

   rake easy_data:install RAILS_ENV=development 

To start with administration, you should assign at admin user:

   rake easy_data:add_user[user,pass] RAILS_ENV=development 

Commandas and Query

To get all possibles querys and URI's offers use this url:

   http://[project_host]/list_models 

After, to get any information about any model or resource, used this url:

  http://[project_host]/foaf/[model]/[id][.format] 
  • [model] = any model list in first url
  • [id] = to get any information with primary key
  • [format] = this is for advance users, get response in this format

Collaborations

If you want to collaborate on this project or have any ideas and would like to share, please email me at my email, all are welcome!

[email protected]