Migration from NextJS 14 web application to NODE-RED!

Hi guys,
I'm new to Node-red but in a situation where I have to move all my backend API and automation to node-red and use nextjs-14 as frontend. How can I do it? Can anyone help me out how I can start and move ahead after installing node-red? I'm Sorry if this sounds very dumb. I'm confused everything about node-red.