- A react web app which allows agents of branch international to view and respond to customer queries in a streamlined fashion.
- Provided .csv file is stored in mongodb as database.
- API end points have been developed to fetch the customer queries from database, and send response to corresponding customer queries.
- A boolean flag is added in the database, so that the other agents are not shown the same query which has already been answered.
- Additional information about the customer has been surfaced in the UI, being only customer's userId as of now, so that the agents can get context.
- Agent UI have been made interactive using socket.io technology, so that new incoming messages can show up real time.
Demo Video {YouTube Unlisted Video}
- Open MongoDB Compass.
- Create a Database named
customerData
and a collection namedsample
- Import the
sample.json
file in the collection.
In the project directory install the following dependencies using the following command:
In the project/src directory install the following dependency using the following command:
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
Open http://localhost:8000 to view server running in your browser.