Node.js: Creating your first project

Welcome to App School!

Join us on Discord: [https://discord.gg/fXd5Bm37vA]

In our journey to master Node.js development on Debian/Ubuntu Linux systems, we’re going to guide you through creating your first Node.js project, and writing your first program.

As an additional step, we’ll also introduce you to nodemon, which is a program you can use to automatically re-run your code any time it changes. This tool can improve your speed and overall joy when working with Node.js.

Helpful Links:

Tools: How To Install Ubuntu using WSL on Windows 10/11: [https://www.youtube.com/watch?v=AImA4pZjegQ]
Tools: How To Install Node.js via nvm on Debian/Ubuntu/Kali Linux: [https://www.youtube.com/watch?v=Q8QXoXE9g8k]
Initializing Node.js applications: [https://docs.npmjs.com/cli/v10/commands/npm-init/]
Nodemon npm registry page: [https://www.npmjs.com/package/nodemon]

Useful Commands:

Create a directory: mkdir [directory_name]
Change directories: cd [directory_name]
Initialize an NPM project: npm init
Create a file: touch [file_name]
Execute a Node.js program: node [file_path]
Install a NPM module globally: npm install -g [package_name]
Monitor a Node.js program with nodemon: nodemon [file_path]

Let’s continue this Node.js adventure together!

Don’t forget to like, subscribe, and hit the notification bell to stay updated with our tutorials.

Happy coding! ‍

Source: https://www.youtube.com/watch?v=9q7I8BHB4og

Leave a Reply

Your email address will not be published. Required fields are marked *