- To start the application
npm install
Node dependencies and runnpm start
. - This will run the chat application on port 3000 or Open http://localhost:3000 to view it in the browser.
- To start the api server run
npm run api-server
. This will start the server on port 8080. - There are few lint errors with react-hooks/exhaustive-deps which can be resolved by following this pattern.
- Adding unit tests, integration tests, logging and tracking functionality can be a good addition to maintain the code base.

In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
This will run a simple api server.
Launches the test runner.
See the section about running tests for more information.
Before running this, place debugger; statements in any test and run.
This will start running your Jest tests, but pause before executing to allow a debugger to attach to the process.
Open the following in Chrome about:inspect
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.