Pre-requiites
NodeJs
Visual Studio Code (or editor of your choice)
How to use this Repository?
Step 1: Clone the repository
Step 2: cd to the cloned directory
Step 3: run the command npm i
Step 4: run the command npm run prod
Step 5: Open two windows with http://localhost:3000 in your browser.
Step 6: Nothing else, enjoy the app
Next Steps in the Project
- Add a initial screen with User Name and Initial Message
- Display the messages with the User Name
- Add MongoDB as a database to store the chat messages for persistence.
- Clear/ Delete all the messages
- Limit the number of messages to display
- Broadcast a message to connected users when someone connects or disconnects
- Add “{user} is typing” functionality
- Show who’s online
- Add private messaging with chat rooms
- More to come...