{"id":13577541,"url":"https://github.com/clemens-tolboom/drupal-8-rest-angularjs","last_synced_at":"2026-03-01T13:01:24.146Z","repository":{"id":21072127,"uuid":"24371645","full_name":"clemens-tolboom/drupal-8-rest-angularjs","owner":"clemens-tolboom","description":"Test angularjs frontend for Drupal 8 ReST","archived":false,"fork":false,"pushed_at":"2016-03-05T13:55:54.000Z","size":123,"stargazers_count":49,"open_issues_count":13,"forks_count":16,"subscribers_count":12,"default_branch":"develop","last_synced_at":"2025-04-04T06:02:24.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clemens-tolboom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-23T13:04:24.000Z","updated_at":"2024-11-24T22:06:10.000Z","dependencies_parsed_at":"2022-09-05T02:51:21.443Z","dependency_job_id":null,"html_url":"https://github.com/clemens-tolboom/drupal-8-rest-angularjs","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/clemens-tolboom/drupal-8-rest-angularjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clemens-tolboom%2Fdrupal-8-rest-angularjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clemens-tolboom%2Fdrupal-8-rest-angularjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clemens-tolboom%2Fdrupal-8-rest-angularjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clemens-tolboom%2Fdrupal-8-rest-angularjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clemens-tolboom","download_url":"https://codeload.github.com/clemens-tolboom/drupal-8-rest-angularjs/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clemens-tolboom%2Fdrupal-8-rest-angularjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29969700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T12:56:10.327Z","status":"ssl_error","status_checked_at":"2026-03-01T12:55:24.744Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T15:01:22.356Z","updated_at":"2026-03-01T13:01:24.126Z","avatar_url":"https://github.com/clemens-tolboom.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Drupal 8 Rest AngularJS\n\nThis project tries to reimplement the Bartik theme from Drupal 8 as an AngularJS webapplication communicating with Drupal through ReST\n\n## Getting Started\n\nThis project setup is done by [angular-seed][angular-seed]\n\nAll dependencies are managed with npm and bower. To start clone this repository and run:\n\n```bash\n$ npm install\n$ npm start\n  ...\n  ^C\n```\n\n## Default installation\n\nDrupal 8 ReST doesn't support [CORS][cors] yet so the app directory should be\nhosted on the same hostname and port as the Drupal 8 instance running\nthe ReST api. The easiest way is to copy or symlink the `app` directory from\nthis repo to to root of your Drupal 8 installation.\n\nBASIC AUTH is currently broken on [authenticated users](https://www.drupal.org/node/2504433) and [views REST export](https://www.drupal.org/node/2228141) so we use COOKIE based.\n\n```bash\n# Go to your Drupal 8 root directory\n$ cd /var/www/drupal\n$ ln -s /path/to/drupal-8-rest-angularjs/app .\n```\n\n### config.js\n\nYou must copy `config.js.dist` to `app/config.js` and change it's values.\n\n### Installing on a CORS configured server\n\nWhen having configured your web server of the .htaccess with core you should\nchange the app.js config section.\n\n## Drupal configuration\n\nCurrent version only supports __hal+json__ so make sure all views and rest\nresources support these.\n\n## Modules\n\nInstall and enable [Rest UI][restui] module. With that module you can expose nodes, comments and users to Rest clients.\n\n## Add rest export displays\n\nAdd a \"Rest export\" display to the following views:\n\n- http://drupal.d8/admin/structure/views/view/frontpage set path to '/node'\n- http://drupal.d8/admin/structure/views/view/taxonomy_term/ set path to '/taxonomy/term/%'\n\n## Import views\n\nYou need to import the views from `/app/_drupal` directory.\n\n### /taxonomy/list\n\nThis view adds a \"Rest export\" display with path to '/taxonomy/list' to display the term name.\n\n### /node/%/comments\n\nThis view adds a \"Rest export\" display with path to '/node/%/comments' to display the comments.\n\n## Rest UI\n\nCheck the configuration on http://drupal.d8/admin/config/services/rest\n\n## Permissions\n\nCheck the permissions on http://drupal.d8/admin/people/permissions for 'RESTful Web Services' permissions.\n\n[cors]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS\n[angular-seed]: https://github.com/angular/angular-seed\n[restui]: https://www.drupal.org/project/restui\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclemens-tolboom%2Fdrupal-8-rest-angularjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclemens-tolboom%2Fdrupal-8-rest-angularjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclemens-tolboom%2Fdrupal-8-rest-angularjs/lists"}