dc2151109c
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) and [ansi-regex](https://github.com/chalk/ansi-regex). These dependencies needed to be updated together. Updates `ansi-regex` from 5.0.0 to 5.0.1 - [Release notes](https://github.com/chalk/ansi-regex/releases) - [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1) Updates `ansi-regex` from 4.1.0 to 5.0.1 - [Release notes](https://github.com/chalk/ansi-regex/releases) - [Commits](https://github.com/chalk/ansi-regex/compare/v5.0.0...v5.0.1) --- updated-dependencies: - dependency-name: ansi-regex dependency-type: indirect - dependency-name: ansi-regex dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> |
||
---|---|---|
public | ||
src | ||
.env-template | ||
.gitattributes | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
LICENSE | ||
README.md | ||
SECURITY.md | ||
SUPPORT.md | ||
package-lock.json | ||
package.json | ||
tsconfig.json |
README.md
Lets Brainstorm
Brainstorm is an example of using the Fluid Framework to build a collaborative line of business application. In this example each user can create their own sticky notes that is managed on a board. Ideas that have been "liked" appear in a list and are sorted based upon the number likes.
There are 3 branches available in this repo:
main
- Fluid Framework application demoacs
- Fluid Framework and Azure Communication Services chat demom365
- Fluid Framework, Microsoft Graph Toolkit, Microsoft 365, Event Hub, Azure Functions, SignalR demo
Running the App Locally
Follow the steps below to run this in local mode (Azure local service):
Run npm install
from the brainstorm folder root
Run npx @fluidframework/azure-local-service@latest
to start the Azure local service for testing and development
Run npm run start
to start the client
Navigate to http://localhost:3000
in a browser tab
📝 NOTE
Azure local service is a local, self-contained test service. Running npx @fluidframework/azure-local-service@latest
from your terminal window will launch the Azure local server. The server will need to be started first in order to provide the ordering and storage requirement of the Fluid runtime.
Running the App Locally with Azure Relay Service as the Fluid Service
To run this follow the steps below:
- Go to the Azure portal and search for
Fluid Relay
. - Create a new Azure Fluid Relay resource and note the
Tenant Id
,Primary key
, andOrderer Endpoint
andStorage Endpoint
values. - Rename the
.env-template
file in the root of the project to.env
. - Replace the values in the
.env
file with the appropriate values from the Azure portal. - Open a terminal window at the root of the project.
- Run
npm install
from the root - Run
export REACT_APP_FLUID_CLIENT=useAzure
in the terminal to create an environment variable (if using PowerShell run$env:REACT_APP_FLUID_CLIENT='useAzure'
). This will cause the app to use Fluid Relay service instead ofazure-local-service
for the Fluid relay service. ) - Run
npm start
to start the client - Navigate to
http://localhost:3000
in a browser tab
Using the Brainstorm App
-
Navigate to
http://localhost:3000
You'll be taken to a url similar to 'http://localhost:3000/#a9c16d13-43fa-413a-859c-514e5bcaba3c' the path
#a9c16d13-43fa-413a-859c-514e5bcaba3c
specifies one brainstorm document. -
Create another chrome tab with
http://localhost:3000/**#a9c16d13-43fa-413a-859c-514e5bcaba3c**
Now you can create notes, write text, change colors and more!