RESTful-Drupal/restful_angular_example

Name: restful_angular_example

Owner: RESTful-Drupal

Description: Angular consumer example using the RESTful module.

Created: 2015-04-30 06:24:11.0

Updated: 2018-05-10 21:51:36.0

Pushed: 2015-04-30 06:30:00.0

Homepage: null

Size: 132

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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
able uploading files for authenticated users.
h vset restful_file_upload 1
h cc menu

 into the example module and install node/ bower packages
drush drupal-directory restful_angular_example`
omponents/restful-app
install
r 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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.