Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.02 KB

README.md

File metadata and controls

27 lines (17 loc) · 1.02 KB

Front end

This project is responsible for the front end part of the application. It's a React SPA.

Created using Create React App

This project is responsible for

  • Creating the message data object to send to an Apache Kafka cluster
  • Making requests to the back end
  • Keeping track of messages sent during current session

Key dependencies

Key scripts

  • npm run start-demo starts the front end project in demo mode (does not specify REACT_APP_BACK_END_URL). This mode does not expect the front end project to be connected to the back end.
  • npm run start-dev starts the front end project normally with the default REACT_APP_BACK_END_URL value. This mode expects the front end project to be connected to the back end

Configuration

  • Environment variables
    • REACT_APP_BACK_END_URL sets the back end project url