I'm pretty new in this. I'm currently trying to learn web development from an online course in Udemy (Colt's Steele) and I'm stuck in the deployment part of the app. I'm using render and it when I try to deploy, it just gives me this error.

Basically since I'm "scared" that I might break the deployment part, I copied all the files in my app folder and place it in a new one and made a repository on GitHub and then use render to deploy it. I don't know if I'm asking the right questions but here it is:
1.) If I copy all the files from the original app folder to a new one, do I need to install all dependencies first and then make a repository on GitHub and then try deploying it on render?
2.) When I got this error in render, Error: Cannot find module ‘/opt/render/project/src/app.js’ I read that I probably need to set my Root Directory which I did and it went live but gave me tons of error and if I click on my app link it would redirect me to a page showing Internal Service Error.
I tried researching the error from render but I don't know where to start.