Next.js and wordpress
Unanswered
Nile Crocodile posted this in #help-forum
Nile CrocodileOP
Hello,
I have been assigned the task of developing a web application that includes a dashboard, metrics (or analytics), and instances where users can upload their data into a **large language model (LLM)to create AI-driven tools tailored for their enterprise needs.
Initially, I was given WordPress as the platform to build the application. However, I have realized that I need to use Next.js for better performance, flexibility, and scalability. Given this requirement, I would like to integrate WordPress with a Next.js application—essentially using WordPress as a headless CMS while leveraging Next.js for the frontend.
I have already designed the landing page using WordPress, and now I would like to implement the login, signup, dashboard, and other core functionalities within Next.js.
Is this integration feasible? Has anyone successfully implemented a similar setup before? If so, what are the best practices and challenges involved in connecting WordPress with Next.js for an AI-driven platform? Any guidance would be greatly appreciated.
I have been assigned the task of developing a web application that includes a dashboard, metrics (or analytics), and instances where users can upload their data into a **large language model (LLM)to create AI-driven tools tailored for their enterprise needs.
Initially, I was given WordPress as the platform to build the application. However, I have realized that I need to use Next.js for better performance, flexibility, and scalability. Given this requirement, I would like to integrate WordPress with a Next.js application—essentially using WordPress as a headless CMS while leveraging Next.js for the frontend.
I have already designed the landing page using WordPress, and now I would like to implement the login, signup, dashboard, and other core functionalities within Next.js.
Is this integration feasible? Has anyone successfully implemented a similar setup before? If so, what are the best practices and challenges involved in connecting WordPress with Next.js for an AI-driven platform? Any guidance would be greatly appreciated.
1 Reply
Ideally, if you want to use wordpress as a headless CMS for blogs / content you can use the rest api or graphql to get the posts / custom types that you created.
If you want landing pages that are on wordpress then probably you need to decouple the platform from landing pages and other basic pages.
And storing data in wordpress and using that in Next or pretty much any framework is not easy unless its very rigid. The best case would be to use it as a blogging / structured data collection only. Any user specific data , responses from AI, conversations should ideally be stored in another database for easier maintenance and scalability as well
If you want landing pages that are on wordpress then probably you need to decouple the platform from landing pages and other basic pages.
And storing data in wordpress and using that in Next or pretty much any framework is not easy unless its very rigid. The best case would be to use it as a blogging / structured data collection only. Any user specific data , responses from AI, conversations should ideally be stored in another database for easier maintenance and scalability as well