In Node.js you can structure your code however you want. You have the option of writing all of your code in a single app.js file or creating multiple files and placing them in different folders.