Node.js and Socket.io make full-duplex communication easy (full 2-way, like a cell phone conversation)
- A browser (e.g., Chrome)
- A text editor (e.g., VS Code, or Notepad++, or Chrome)
- Folder-based
- Easy to write
- Node.js non-blocking event loop supports many concurrent requests
- Socket.io makes full duplex communication easy
Open PowerShell here as admin and run: npm install
. Verify node_modules was created. Review the contents.
Open PowerShell here as admin and start your app with nodemon: nodemon app.js
- Open a web browser.
- Go to the URL: http://127.0.0.1:3003/ or http://localhost:3003/.
- Open PowerShell as Admin, run ipconfig.
- Find your IPv4 address.
- Invite others to interact with your server-side app.
- full duplex
- Socket.io
- npm install
- node_modules
- package-lock.json