You can preview the experience:
- Open the
cometchat-app-react
folder.- Add credentials for your app in
src/index.tsx
:
- Install dependencies:
- Run the app:
cometchat-app-react/src/CometChat
folder inside your src/app
directory.
CometChatNoSSR.tsx
UID
. You can either:
cometchat-uid-1
cometchat-uid-2
cometchat-uid-3
cometchat-uid-4
cometchat-uid-5
chatType = "user"
): Displays one-on-one chats only, either for a currently selected user or the default user.chatType = "group"
): Displays group chats exclusively, either for a currently selected group or the default group./chat
route (e.g., http://localhost:3000/chat)
.tsConfig.json
:
CometChat
folder contains: