This is a project I did some time ago which aims to emulate an IRC-like experience in the browser by using WebSockets. Features channels, accounts, and even night mode. Consists of a pure Javascript frontend, a Node server, and a MongoDB database.
- Javascript,
- Node.js.
- Frontend (website):
- Uses the IBM VGA 8x16 font for nostalgia purposes,
- Uses the WebSocket API for live communication with the server (and therefore other people).
- Backend (server):
- Uses WebSockets to communicate with the client,
- Uses a MongoDB database to store accounts and messages,
- Uses bcrypt for password handling.
Familiarizing myself with the WebSocket API and Webpack Rollup Parcel. Also, it's really cool to be able to create something that resembles IRC (if only slightly) in so few lines of code.
- Provide username and password,
- Talk to other people.
Check out this demo right here.
git clone https://github.com/54ac/websocket-irc.git .
npm i
npm start