Event-driven architecture lab
In this lab, you will create a simple event-driven chat application using Node.js
EventEmitter class from the
events module. The objective of this exercise is to help you understand the event-driven architecture and how to create and emit custom events using the
EventEmitter class in Node.js. Make sure to import the
EventEmitter class from the 'events' module.