This is ReactJS application for chat using EDC.
- Both(smartSense and Catena-X) EDCs and backend services should be up and running
- Node.js should be installed in your local
Environment Variable | Value | Description |
---|---|---|
REACT_APP_API_BASE_URL |
http://localhost:8083 |
Base URL for the backend API. This is where API requests are sent. |
REACT_APP_WEBSOCKET_URL |
ws://localhost:8083 |
WebSocket URL for real-time communication with the backend server. |
- Update environment variables in .env.producer and .env.consumer
- Install need packages using command
npm install
- Run consumer app using command
npm run start:catenax
, you can access consumer UI onhttp://localhost:3000
- Run producer app using command
npm run start:smartsense
, you can access consumer UI onhttp://localhost:3001