A dead simple chat room I made to try learn React and Next.js. Verdict: They're pretty cool.
Install
git clone https://github.com/LucasDower/DEDCHAT.git
cd DEADCHAT/client
npm install
cd ../server
npm install
cd ..Run
Start the chat server with ./run-server and then start the web server with ./run-client and open your browser to http://localhost:3000. Finally type in the address of the chat server which will be localhost:8080 if you're running it locally.
Note the misnomer, they're both servers really, any number of browser clients can connect to the chat.
As this is pretty barebones there's plenty of room for improvements:
- Timestamps,
- Reconnect on disconnect, for both server and client,
- Add nodemon to client,
- Prevent users with matching display names,
- Proper command handling
