Skip to content

RESTful-Drupal/restful_angular_example

Repository files navigation

AngularJS, RESTful and Entity Validator form example

Test on Simplytest.me (recommended)

  1. Launch sandbox on simplytest.me
  2. Login (admin/ admin)
  3. clear cache via /admin/config/development/performance (as file upload is disabled by default)
  4. Navigate to /restful-example/form

Test Locally

  1. Get a clean Drupal installation with a "standard" profile (i.e. the Article content type is present)
  2. (temporary) Get RESTful and Entity API patches
  3. Enable module and download Angular related libraries and navigate to restful-example/form
# Enable uploading files for authenticated users.
drush vset restful_file_upload 1
drush cc menu

# cd into the example module and install node/ bower packages
cd `drush drupal-directory restful_angular_example`
cd components/restful-app
npm install
bower install

The RESTful resource is here, and the Entity-Validator handler is here.

Note that if you change the Angular script under /components/restful-app/src you will need to grunt build. If you don't have grunt installed install it by running npm install -g grunt-cli.

About

Angular consumer example using the RESTful module.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published