Skip to content

Commit 3948cb5

Browse files
authored
Merge pull request #449 from talkjs/feat/add_remote_work_demo
(ex) added remote work demo example
2 parents 0065e53 + 145c6a6 commit 3948cb5

15 files changed

+28070
-0
lines changed

react/remote-work-demo/.gitignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*

react/remote-work-demo/README.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
## Intro
2+
This repo is basically a clone of our [remote work demo](https://talkjs.com/demo/team-chat/), set up as a standalone react app.
3+
4+
## Instructions
5+
1. Clone the repo.
6+
7+
2. Install dependencies by either running `npm install` or `yarn`.
8+
9+
3. Create a TalkJS account.
10+
11+
4. Grab your App ID, which you can find in your dashboard.
12+
13+
5. In talkjsConfig.js, replace `appId` with your App ID.
14+
15+
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.
16+
17+
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.
18+

0 commit comments

Comments
 (0)