0.1.0 • Published 4 years ago
itarverne-chat v0.1.0
React chat component
Simple react component using socket.io avaible in EN and FR.
Install
npm install
.env file
Name | Value | Description |
---|---|---|
NODE_PATH | src/ | project root |
REACT_APP_CHAT_API | "http://localhost:<your_port>/" | chat backend address |
REACT_APP_KB_BOT_NAME | "<bot_name>" | keyabse bot name |
Props
Name | Type | default value | Description |
---|---|---|---|
username | string, not required | "anonymous" | client username (ex: "bob", "anonymous") |
support | string, not required | "support" | support name |
lang | string, required | "en" | language |
Usage
npm start
0.1.0
4 years ago