Skip to content

Commit

Permalink
Merge branch 'feat/add_remote_work_demo' of https://github.com/talkjs…
Browse files Browse the repository at this point in the history
…/talkjs-examples into feat/add_remote_work_demo
  • Loading branch information
Julianerik committed Oct 18, 2023
2 parents 2b1970e + 5e9a9fb commit 145c6a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions react/remote-work-demo/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Intro
This repo is basically a clone of our [remote work demo](link), set up as a standalone react app.
This repo is basically a clone of our [remote work demo](https://talkjs.com/demo/team-chat/), set up as a standalone react app.

## Instructions
1. Clone the repo.
Expand All @@ -14,5 +14,5 @@ This repo is basically a clone of our [remote work demo](link), set up as a stan

6. From this point on, you're ready to start up the app using using either `npm run` or `yarn start`. The app will be up and running at localhost:3000.

The app is prepopulated with a default user and a couple of hardcoded conversations, which easily can be replaced with your own users and conversations. You can find these conversations and the default userId in talkJsConfig.js as well.
The app is prepopulated with a default user and a couple of hardcoded conversations, which easily can be replaced with your own users and conversations. You can find these conversations and the default `userId` in `src/talkJsConfig.js` as well.

4 changes: 2 additions & 2 deletions react/remote-work-demo/src/talkJsConfig.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const talkJsConfig = {
appId: "tYGS1Q0R", // Replace this value with your app id
userId: "USER_ID", // The user id for the user from who's perspective you're using the UI
appId: "<APP_ID>", // Replace this value with your app id
userId: "<USER_ID>", // The user id for the user from who's perspective you're using the UI
/**
* Below is a couple of example conversations to get you up and running.
* The conversations are split into two categories, which is also reflected in the UI.
Expand Down

0 comments on commit 145c6a6

Please sign in to comment.