- For the implementation, I've used the latest node version 18.
- The answers to Code Review and Component Interaction is provided in markdown language.
- Go to Http Request Handling Folder
- Initiate a command line on the folder
- Run
npm install - After completion, run
npx tsc - This will create an index.js in the Http Request Handling Folder.
- Run
node index.jsin the Http Request Handling Folder.
The fetch method will not run on node with version less than 18. This is an experimental feature and I wont intend to use it in production.
- Go to Counter Function Folder
- Initiate a command line on the folder
- Run
npm install - After completion, run
npx tsc - This will create an index.js in the Counter Function Folder.
- Run
node index.jsin the Counter Function Folder.