Has anyone expercience with decoupeld Magento with Node.js serving the frontend? - node.js

I was wondering if anyone has tried using Magento just as a backend and use Node.js for serving the frontend. Its seems much more flexible and more practical for multistores.

Related

Implement Server Side Rendering to existing ReactJS app (frontend) and Nodejs app (backend)

I have a Reactjs web app that is using Nodejs backend (two seperate apps/repositories). I want to implemented SSR to improve SEO and overall performance of my app. However I am not sure what is the best practice here. I have read some guides and most of them suggested nextjs, but I'm not really sure how that would affect deploy and so on.
Is there a way I can implemented SSR to my existing backend? Or should I do some changes to my front-end instead?
Thank you for suggestions.

Node.js / Express.js / ejs + WordPress or any CMS

I have a question about CMS, currently I developed a website on Node.JS server using Express.Js and EJS.
The thing is I'm pretty bad for webdesign and I want to know if it's possible to use CMS like Wordpress to construct my FrontEnd ?
I read than WordPress using Apache/php and couldn't work with Node.
Thanks !
You can use Gatsby for example, will allow you to use the API from most CMS and use them in your own React app

Should you use a backend with a headless CMS?

Im building a website in school and we need to use a headless CMS to manage the website when it's finished. Im using react on the front end.
My question is can i use a backend server like node js with a headless CMS or would that be unnecessary / not make sense? Im learning node and graphql in school atm and wanted to implement that to this website, could i do that alongside with a headless CMS?
Tanks for answers!
Yes, using NextJS for example. This adds a serverside part to your application.
Depends whether you're building headless cms yourself or just using available options like Strapi or others.

Adding strapi to an express server

I want to build a self-hosted website with nodejs and the express framework because I'm already familar with that. However, using a CMS for this project is a requirement, so I'm looking for a suited and easy-to-use/-learn CMS and discovered strapi which I quite like.
Setting up an API with strapi is easy indeed but now I'm struggling with adding strapi to an express server. My goal is one express server with strapi, which also hosts the website. So, I can control the routing with express (which I'm used to) and can render the site on the server.
Can somebody explain me how to do that and maybe give a small example? The examples I found, are only about hosting the API externally and using a client-side web framework or a static site generator.
Or is my vision not possible with strapi and I should use another CMS like KeystoneJS (which is already built on Express)?
Thanks in advance!
Using Express with Strapi must be very complex and does not really make sense.
Strapi is based on Koa, which has been designed by the team behind Express. If you are coming from Express, eyou will get confortable with Koa very quickly. Here is the documentation: https://koajs.com.

Host for website that use node.js

I need a good web hosting where I can use node.js.
I have alot experience about cpanel and basic webhotel but I dont know how to use/install node.js.
I'm mainly using html, php, javascript and mysql but I have some features that need node.js.
Can you help me if you know good sites or you know how to use node.js in cpanel
Here is good post: http://codecondo.com/hosting-platforms-for-node-js/
These web sites have (pre)installed note.js, so no need aby installation.

Resources