This project is a chat application built with React, TypeScript, and Vite for real-time data streaming from Mocked Backend.
To get started with the project, follow these steps:
-
Install dependencies:
npm install
-
Setting Mocked Back-End URL
To set the mocked back-end URL, update the
URLsenum in thesrc/queries/urls.tsfile. like following:export enum URLs { CHAT_RESPONSE = 'http://localhost:1994/stream' }
-
Run the Application:
npm run dev
This will start the development server at http://localhost:5173/.
To run the tests for the application, use the following command:
npm run test