It would be nice if we have a SPA template that's a show case for Headless CMS out of the box
/cc @dodyg @sebastienros
Could be a recipe, it could also be a guide. You could argue we could have a guide for the existing recipes too (Blog, Agency).
I think starting with a guide would be nice in this case, as this is more about showing how to do it that having a site ready that uses this technique.
/cc @jrestall who does it with react
Perhaps a Blazing Pizza is a good example

Could be a recipe, it could also be a guide
It could be, but I'd like to see a SPA on action with no razor no fluid, just HTML with little jQuery to consume the back-end APIs
You mean like what ABP does?
ABP is a WAF, but what I'm asking for is just a show case, something similar to https://github.com/cofoundry-cms/Cofoundry.Samples.SPASite
_I'm a web dev who knows HTML+JavaScript only and I'd like to use Orchard Core as source of data_
Yeah but ABP uses themes and templates for each type of SPA frameworks like one for Angular, Vue.js, React ... With complete premium templates. Now, this Cofoundry sample looks more like a frontend dashboard.
Having a 'Headless CMS' setup recipe would be great.
I'm slowly working on gatsbyjs plugins for Orchard Core with a sample site. https://github.com/jrestall/gatsby-orchardcore/tree/master/example/site.
Seems @sebastienros demo gatsbyjs year ago if I'm not wrong in ASP.NET Community Standup
this Cofoundry sample looks more like a frontend dashboard.
No, it's SPA, all images except the first one shows how to manage the content, like what we did in the admin theme
I don't disagree that it's a SPA, though if you can manage content with it then it has content management which could be apparented to a frontend dashboard if you don't consider it as the OC admin. In OC this would need to be 2 separated SPA if you would want to use the content management as a replacement for the current admin. Unless you don't want to use the current admin at all ! 馃槃
Should we have two recipes:
Also "some" spa template projects (other repository) to reuse the Pizza SPA. Can also be Blog if that's more common. We could also have a sample repos that would generate a static site from it.
What about authentication to make the graphql endpoint secure.
I think the second option is good
We could also have a sample repos that would generate a static site from it.
This is handy for some scenarios like APIs docs, blog posts.. etc
Can we do a Pizza SPA that using GraphQL?
We should write a guide that shows how to do spa applications with graphql. And maybe ship the result in the OrchardCore.Samples repository.
We need to do three guides:
I can do the first two because I have a long real world implementation notes go guide me. I have zero experience with GraphQL.
We already published the decoupled: https://orchardcore.readthedocs.io/en/dev/docs/guides/decoupled-cms/decoupled-cms/
Please share the feedback.
If you want to work on the first one then I am ok with that. If you can follow the same format as the video I gave last year, reimplementing the Blog Theme. Creating the types, then a theme, then a recipe, that would be awesome.
For the headless, I could create a custom recipe, then show how to setup openid connect, and generate a static site from it. Maybe a small spa application too to connect to the same graphql endpoint.
I have made some good progress on the "traditional CMS from scratch" one. Building the site with types and parts is done, now starting theming. I am rebuilding TheBlogTheme somehow.
Difference with decoupled is that I introduced Autoroute +liquid pattern, and List
I reviewed https://orchardcore.readthedocs.io/en/dev/docs/guides/decoupled-cms/decoupled-cms/ and it looks good but I think we can make the tutorial process more efficient in terms of the structure.
The tutorials can be broken down to three parts:
I think if we create a dedicated topics for Content Modelling, we can benefit the beginner and the intermediate users alike and it will cut down the size of the tutorial.
So in Content Modelling we can have:
Then in the tutorials we can just do
Since the Code Setup is the same, we can even simply have a page with Code Setup for Traditional / Decoupled / GraphQL so the tutorial creation process will be
Most helpful comment
We need to do three guides:
I can do the first two because I have a long real world implementation notes go guide me. I have zero experience with GraphQL.