teachcas.blogg.se

Create node js project
Create node js project




create node js project

NOTE: Open the MyNodeJsProject folder📂 through your VSCode before opening the VSCode terminal, so that you'll be automatically navigated to the folder in the terminal. A new panel would pop up at the bottom part of your VSCode: Still in your VSCode, Open the VSCode terminal by clicking the terminal tab located at the upper part of VSCode, then click the New Terminal option.In the left panel of your VSCode, the MyNodeJsProject folder📂 would be displayed. You’d use GET for getting all books or only 1 book by id. For this you can build a book directory, where you would need to create endpoints, using the 4 most basic methods: GET, POST, PUT and DELETE. Click on it and locate your MyNodeJsProject folder📂 in your desktop, then open the folder📂. This one is often considered as the most basic project you can create using Node.js and Express.js or Nest.js is a simple REST API. After clicking on file you'll see the Open Folder option. You can open the folder by clicking the file tab located at the upper left corner of VSCode. In your VSCode, Open the MyNodeJsProject folder📂.Name it MyNodeJsProject so as to locate it easily Download, install and open VSCode here.The command above should print the version of your NodeJS so you'll see something like this v14.7.0 (Depending on the NodeJS version you installed)

create node js project

Enter fullscreen mode Exit fullscreen mode






Create node js project