Is there any documentation on how to build a headless implementation using GraphQL for Umbraco 9
I'm using the open source Umbraco CMS 9 version and I need to build a headless implementation. I have gone through many blogs but couldn't find a straightforward answer on how to build a Headless client for fetching data from Umbraco via RESTApi and / or GraphQL. I found a Umbraco8 github project using GraphQL but that is on .net 4.6 I want to build it on .Net 5.
Any guidance and help would be greatly appreciated.
In my projects, I have taken the first approach. But instead of writing it all yourself, you can take advantage of the nuget package from Vertica A/S. I also recommend you look at doing the hybrid RenderController.
Essentially, I'm serving my regular web page to anyone requesting it through a browser. If that request asks specifically for JSON, I render data instead of the template.
I'm looking forward to trying Nikcio.UHeadless for the simple fact it uses GraphQL. Beware of the lengthy todo, as there may be something you need that's not implemented yet. I'm sure they would welcome a PR, though!
Please be sure to come back and update us all if you find a solution that works for you. I'm sure it will help others!
Is there any documentation on how to build a headless implementation using GraphQL for Umbraco 9
I'm using the open source Umbraco CMS 9 version and I need to build a headless implementation. I have gone through many blogs but couldn't find a straightforward answer on how to build a Headless client for fetching data from Umbraco via RESTApi and / or GraphQL. I found a Umbraco8 github project using GraphQL but that is on .net 4.6 I want to build it on .Net 5.
Any guidance and help would be greatly appreciated.
Nikolaj Brask-Nielsen wrote something on this very topic.
3 Ways to go headless with Umbraco
In my projects, I have taken the first approach. But instead of writing it all yourself, you can take advantage of the nuget package from Vertica A/S. I also recommend you look at doing the hybrid RenderController.
Essentially, I'm serving my regular web page to anyone requesting it through a browser. If that request asks specifically for JSON, I render data instead of the template.
I'm looking forward to trying Nikcio.UHeadless for the simple fact it uses GraphQL. Beware of the lengthy todo, as there may be something you need that's not implemented yet. I'm sure they would welcome a PR, though!
Please be sure to come back and update us all if you find a solution that works for you. I'm sure it will help others!
Hi Mark, did you implement API with Vartica Umbarco Headless Framework?
can you share your code or copy here your controllers?
I don't find any examples for it, and controller functions don't work.
thanks
Ayala
Hi,
Maybe this package can help you out : https://github.com/vertica-as/Vertica.Umbraco.Headless
It generates a rest api.
Dave
is working on a reply...