Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

adobe/franklin-chat-ui

Repository files navigation

Franklin Chat UI

The Franklin Chat UI is a React app that connects to the Franklin Chat Service and allows users to chat with the Franklin team.

Using the app

Development

To build and deploy the app, you need to create a .env file in the root directory with the following properties:

REACT_APP_AWS_SERVICE_ENDPOINT=ws://localhost:8081
REACT_APP_MAGIC_LINK_API_KEY=...
PORT=8080

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3001 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

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.