A chat app built on fluid. Useful for testing various scenarios like op and summary size and connect/disconnect flow.
Do not deploy as a production application. This is very much a development and validation tool. Deployment of the app as-is would expose secrets, and there is no user authentication.
Run the app against a local Fluid service (like Routerlicious).
- Copy
src/config/config.example.ts
to a new filesrc/config/config.ts
. (cp src/config/config.example.ts src/config/config.ts
) - Run
yarn start
, then open the app at http://localhost:1234
Run the app against a remote Fluid service (like Azure Fluid Relay).
- Update the new
config.ts
to export your service connection secrets. This file is gitignored so it will not be committed. - Run
yarn start:remote
, then open the app at http://localhost:1234
- Opening a new window at http://localhost:1234/ will create a new chat session (i.e. document)
- Opening a new window at http://localhost:1234/#existing-document-id will open an existing chat session (i.e. document)
- View the "Help" dialogue when opening a new chat session (i.e. document), or any time from the "?" button at the top left.
- Build your local FluidFramework repo (
cd /path/to/FluidFramework && npm install && npm run build:fast
) - Add the following to the
resolutions
field of thepackage.json
, replacing/path/to/FluidFramework
with your local FluidFramework repo (e.g/Users/username/code/FluidFramework
):
"@fluidframework/routerlicious-driver": "file:/path/to/FluidFramework/packages/drivers/routerlicious-driver",
"@fluidframework/driver-base": "file:/path/to/FluidFramework/packages/drivers/driver-base",
"@fluidframework/driver-definitions": "file:/path/to/FluidFramework/packages/common/driver-definitions",
"@fluidframework/core-interfaces": "file:/path/to/FluidFramework/packages/common/core-interfaces",
"@fluidframework/driver-utils": "file:/path/to/FluidFramework/packages/loader/driver-utils",
"@fluidframework/telemetry-utils": "file:/path/to/FluidFramework/packages/utils/telemetry-utils"
yarn install