![]() Step 17 - Now, you can see it is printing your message ‘Listening to port 4000’.Step 16 - Open the terminal, go to the main folder write ‘cd simplilearn’, press enter, and then write the command to run the code: node app.js.Step 15 - Now write your first basic program in which you will print “Welcome To Simplilearn” on the server.With this Express js will have gotten installed on your system Step 14 -Now you will finally install express js for that write command: npm install express.Go to the main folder that you have created, that is cd SimplilearnĪfter this, you can see npm created a JSON file inside your Step 12 -Once the file has been created, you will need to install a package manager that is the npm open terminal.Step 11 - Now, inside that folder create a file app.js, press the add file button then write your file name.Mkdir simplilearn this will create a folder Step 10 - Open a new terminal write a command:. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |