{"id":17056332,"url":"https://github.com/biophoton/ng-drupal-7-services-explorer","last_synced_at":"2025-03-23T06:40:57.099Z","repository":{"id":77494353,"uuid":"41551648","full_name":"BioPhoton/ng-drupal-7-services-explorer","owner":"BioPhoton","description":" Tests for Angular Headless Drupal setup with services","archived":false,"fork":false,"pushed_at":"2016-04-08T13:00:19.000Z","size":2766,"stargazers_count":7,"open_issues_count":7,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-28T13:28:57.708Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BioPhoton.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-08-28T14:28:22.000Z","updated_at":"2017-08-08T08:16:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"dede097e-9680-4c77-bed5-1491a98e7b7e","html_url":"https://github.com/BioPhoton/ng-drupal-7-services-explorer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BioPhoton%2Fng-drupal-7-services-explorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BioPhoton%2Fng-drupal-7-services-explorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BioPhoton%2Fng-drupal-7-services-explorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BioPhoton%2Fng-drupal-7-services-explorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BioPhoton","download_url":"https://codeload.github.com/BioPhoton/ng-drupal-7-services-explorer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245066495,"owners_count":20555402,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-10-14T10:24:06.036Z","updated_at":"2025-03-23T06:40:57.074Z","avatar_url":"https://github.com/BioPhoton.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular Drupal8 \u0026 7 API Explorer\n\n####This project shows the whole functionality of the  [Angular Drupal7 Services](https://github.com/BioPhoton/ng-drupal-7-services) lib.    See all parts in action or copy code into you own projects.\n     \n\nYou should also checkout the [WEB DEMO](http://www.drupalionic.org/explore/) of this repo.\n     \n##Setup project\n\n1. Check out the project\n  ```bash\n  $ git clone https://github.com/BioPhoton/ng-drupal-services-tests-with-ng.git [project name]\n  ```\n  Check that the current user have write permissions to the newly created folder.\n  Then cd into the folder and check out the dev branch\n  ```bash\n  $ cd [project_name]  \n  $ git checkout master\n  ```\n\n2. Setup node_modules  \n  In the ckecked out branch there is a package.json file   \n  which contains all required node modules required for the gulp tasks.\n  ```bash\n  $ npm install\n  ```\n3. Load bower lib's  \n  As all the thrid party libs are not in the repository we have to load them over bower  \n  ```bash\n  $ bower update   \n  ```  \n  Open app.config.js\n  ```javascript\n\t//drupal services configurations\n\tDrupalApiConstant.drupal_instance = 'http://www.your.domain/'; \n\tDrupalApiConstant.api_endpoint += 'v1/'; // \"api/v1/\"\n\n  ```  \n  \n  Now you are ready to test it. Run following command:    \n  ```bash\n  $ gulp webserver  \n  ```\n  \n  ##Setup Drupal\n  - Setup a fresh Drupal installation\n  - install following Modules:\n    - [CORS](https://www.drupal.org/project/cors)\n    - [Services](https://www.drupal.org/project/services)\n    - [Services Views](https://www.drupal.org/project/services_views)\n    - [libraries](https://www.drupal.org/project/libraries)\n    - [Views](https://www.drupal.org/project/views)\n    - [C Tools](https://www.drupal.org/project/ctools)\n  - Go to  admin/structure/services/add and import [the preconfigured service](https://github.com/BioPhoton/ng-drupal-services-tests-with-ng/blob/dev/resources/drupal/services_export.txt)\n  - Go to admin/config/services/cors  and paste following into the textarea `api/v1*|\u003cmirror\u003e|POST,PUT,GET,DELETE|Content-Type,Authorization,X-CSRF-TOKEN|true`\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiophoton%2Fng-drupal-7-services-explorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbiophoton%2Fng-drupal-7-services-explorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbiophoton%2Fng-drupal-7-services-explorer/lists"}