-
Notifications
You must be signed in to change notification settings - Fork 11
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
How to integrate with ContentJS #1
Comments
Hi @fpoirier1, right now we don't tbh - it's connected just with the backend system. We'd like to hear more on how this can be done though :) |
Okay so you were able to build a complete decoupled project with NextJs without using contentajs ? Sorry for asking those silly questions, it is my first contenta project. |
There are no silly questions in our industry, so no worries! Answering your question - yes, you can make requests straight to the backend without having to set up any additional proxy in-between (contentajs is sort of proxy). You can look at the live project running on this codebase here https://contenta-react-next.now.sh and using network inspector check out where the requests go - you'll realize that they just go to the URL with Drupal installed with ContentaCMS profile. |
A side note: if you're looking to play a bit with next.js / contentacms, this repo might be a good start for you https://github.com/systemseed/drupal_reactjs_boilerplate. |
Hello,
This is not a bug report but a question. I would like to know how do you integrate contenta_react_next with contentajs ?
I know there is a way to add customization to NextJS server (https://nextjs.org/docs/#custom-server-and-routing) but I am curious what your point of view on this.
Cheers
The text was updated successfully, but these errors were encountered: