joshkoenig / headless-drupal-angular Goto Github PK
View Code? Open in Web Editor NEWWorking "Headless Drupal" example implementation - an AngularJS app set up to talk to Drupal 8 vis the rest.module.
License: MIT License
Working "Headless Drupal" example implementation - an AngularJS app set up to talk to Drupal 8 vis the rest.module.
License: MIT License
Hey @joshkoenig! Great project. Just wanted to point out that we have something similar for D7, a basic site with REST, and a couple of clients for the front end, one of them being Angular. You can see it here: https://github.com/Lullabot/copelandia
Love to hear your thoughts.
For example, if i want to create a node / load a node, i would like to do something in my js like
headlessDrupal.loadNode(1);
instead of call it from html. Using getElementByID seems ok but i think it is too long. Any idea ?
I had created a fork and having post / view to D8. Im delighted to make a pull request if joshkoenig want to make this project better :)
Thanks
Keith
I'd like to be able to reuse the same content you are in setting up future demos. I'm currently working on a Web Components based demo that doesn't use angular. If the read permissions are set liberally enough on your demo site I should be able to access your content without much of a performance penalty.
My fork is here: https://github.com/cosmicdreams/headless-drupal-angular
I am getting this error http://local.drupal8-host.dev:8000/node/2 401 (Unauthorized)
.Any idea what's is wrong with my setup? Basically I just followed the instructions on README.
I am not sure if I understand #3 Copy in the provided rest.settings.yml configuration.
though.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.