mrmaneditor000820-ui/Node_js ? reverse-engineered prompt

Reverse engineered prompt

Build me a simple Node.js website with a clean home page and a few basic routes, using server side rendered pages.

I want it organized in a simple way with a main server file, separate route handling, and controller logic so it’s easy to follow and expand later. The site should have a couple of pages like home, about, and contact, and the contact page should include a basic form that shows a success message after submit. Keep the design simple and readable, with reusable page templates if that makes sense.

Please wire up the app so it runs cleanly from the main entry file, and make sure the pages actually load through the routes instead of being hardcoded in one place. If you need to check the best current way to do this in Node.js, look up the current docs online first.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab