Simple realtime chat website built using ExpressJs and websocket.
- Install dependencies.
npm install
- Build the typescript.
npm run build
- Run the javascript and start the server.
npm run dev
Please note that you will need to rebuild the code every time you make a change.
- After starting the server, visit the below url.
localhost:3000
- Enter your username and the room you want to enter.
Any user on the same server and room will be able to listen to your messages and send messages back.