Node.js useful tips on coding in Visual Studio Code (VS Code)

Categories :

Steps to use VS Code to develop Node.js application:

  1. Install Node.js
    • https://nodejs.org/
  2. Install Visual Studio Code (VS Code)
    • https://code.visualstudio.com/
  3. Create a Project in VS Code
  4. Install “Node.js” Extension
    • Search Node.js in Extension
    • Install:
      • ESLint
      • SonarLint
      • JavaScript code snippets
      • Nodejs Snippet
      • npm Intellisense
  5. Create Node.js File
    • Create a ‘app.js’ file
  6. Write Node.js Code
    • Write the code in app.js file
  7. Run the Code
    • Open VSCode Terminal
    • node app.js

Leave a Reply

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