EXAMPLES OF NODE.JS USING:
- EXPRESS.JS: A WEB APPLICATION FRAMEWORK FOR NODE.JS.
- NODEMON: FOLLOW THE INSTRUCTIONS HERE.
npm install express
npm install -D @types/express # ONLY IF WORKING WITH TYPESCRIPT
npx nodemon ./folderSource/folderTopics/folderExpress/exampleExpress.js
npx nodemon ./folderSource/folderTopics/folderExpress/exampleUrlParameters.js
- INSTALL THE REST CLIENT VSCODE EXTENSION TO SIMULATE POST, PUT AND DELETE REQUESTS.
- RUNNING THE EXAMPLE:
npx nodemon ./folderSource/folderTopics/folderExpress/folderJsonBodyParser/exampleJsonBodyParser.js
npx nodemon ./folderSource/folderTopics/folderExpress/exampleFormBodyParser.js
npx nodemon ./folderSource/folderTopics/folderExpress/exampleMiddlewares.js
npx nodemon ./folderSource/folderTopics/folderExpress/folderRouter/exampleRouter.js