What is Node.js?
- Because it runs on a PC or server, the program can run constantly.
- You can do a lot of things with the Node.js library.
If you're new to Nodejs, the first step is to install Nodejs!
You can download it from this site.
Create Nodejs Project
Let's create a Node.js project.
The only thing you need to do is create a folder and put one or two files inside it. First, you need to create a folder, which can be any name. The name can be anything, and if you're on Windows, you can use the command line. Then you create the folder from the command line on Windows, or from the shell on Mac or Linux. into
and command. You will be asked for various questions, but press Enter and proceed for now. Then there is a package.json in this empty folder.
This is the file of the project.
Next, we need to prepare app.js to write the app. Prepare an empty text file, name it app.js and save it in this folder . Your project is now complete!
Next, install obniz from npm.
The browser used to use "