If you're excited about this, you are most likely a developer - so here's the code.
If this data looks familiar to you, it might be because it's the same data you see via Hedley's Angular client.
Your team invested countless hours in development.
Your QA people can barely keep their eyes open - they have worked so hard. Your lead developer who's responsible for the deployment is almost dehydrated from so much pressure and sweat.
But it's all worth it. Your app is live. Now everybody goes to sleep, and your pampered app, is all alone, serving your data to the entire world.
You forgot one thing - to give it a phone to call home, and tell you something went wrong.
Here is a known fact - it's really easy to break the sites you are building. One wrong line of code, and a page is returning a 503 error.
Here is a known secret - (almost) nobody is doing QA. Since I'm not into arguing about this, I'm willing to soften it a bit to "most companies, don't do proper QA".
The reasons are pretty clear - not enough time and not enough budget. This post isn't going to be about the importance of QA - that point is clear to everybody, but rather give realistic tips and tools that will allow you to start improving the quality of your projects, and actually even save you some time and money.
What's fun about having a tool like Hedley is that every new best practice we acquire can be easily added to our ever evolving, versioned, and codified knowledge base - and it's there for the community to use and improve.
So, as if it didn't have enough of best practices bundled in it already, we've taken another step to get PhantomCSS a "CSS regression testing" tool in.
Bingo! I think we're on to something here. It's called yo hedley - and it's one command that brings a true headless Drupal to everybody.
In my last DrupalCon BoF presentation "Gizra - we've got your headless covered" I've taken the time to explain why "headless" was in fact mostly a buzzword. While I encourage you to have a look at the presentation, I'm actually more excited about telling you why I feel this is no longer the case.
Go ahead an check the live demo!