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)
- Still no build tools needed
- 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
Open PowerShell here as admin and start your app with nodemon:
npm run dev
- Open a web browser.
- Go to the URL: http://127.0.0.1:3003/ or http://localhost:3003/.
Open PowerShell as Admin, run ipconfig
. Locate your IPv4 address. Invite others to interact with your hosted chat app.