Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there going to be any movement on this? #6

Open
jackkemmish opened this issue May 11, 2023 · 5 comments
Open

Is there going to be any movement on this? #6

jackkemmish opened this issue May 11, 2023 · 5 comments

Comments

@jackkemmish
Copy link

Hi there,

Just wondering if there's any movement on this?

Would be nice to have an 'off the shelf' install for a headless version of the CMS and this was looking really promising.

Thanks,
Jack

@michalkleiner
Copy link

Hi @jackkemmish,

CMS itself has just released version 5 and when installed via the CMS recipe it comes with GraphQL 4 module that can provide you with the content over an API, so the CMS itself can act in the headless capacity as a content provider already.

What's your use case, what do you want to build, what limitations around the current setup have you encountered? Or have you not try going with the existing version for your build yet?

@jackkemmish
Copy link
Author

Hi @michalkleiner thanks for the reply!

Currently downloading SilverStripe 5 as we speak 😃

In terms of my use case, I am just exploring how we can use a front-end framework such as Next.js with SilverStripe as I have quite a few sites built using the CMS, and would be nice to switch up my offering.

I originally installed it and there were some errors so I held off continuing, but if version 5 has has a GraphQL module installed I can take a look at the docs too.

Just thought it would be nice to have some off the shelf examples with SilverStripe best practises etc, not a full project, but a working example similar to how the likes of Prismic.io and Sanity.io do.

Thanks,
Jack

@michalkleiner
Copy link

Fair enough. There might still be room for a module like this, it probably solves some headless-specific issues like returning correct error responses, image URLs and whatnot, haven't look at the code in detail, but standard CMS already comes with GraphQL, so I would give that a go first and then see what needs to be added/tweaked/ported from here.

@michalkleiner
Copy link

Check out the GraphQL docs
https://docs.silverstripe.org/en/4/developer_guides/graphql/

@jackkemmish
Copy link
Author

Thanks for the messages @michalkleiner.

I will give SS5 and the GraphQL docs a go for now then thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants