http://chat4321.herokuapp.com/
Requires:
xcodeandcarthagefor the iOS/watchOS client.nodefor the web client.swiftfor the server section.
| Command | Description |
|---|---|
npm install |
Install the web client and build dependencies. |
npm run dev |
Compiles and runs both the web client and server builds (go to localhost:8000/ to try it out). |
npm run build |
Builds the release version of the web client and the server application. |
brew install carthage |
Install the iOS dependency manager. |
cd Client_iOS then carthage update |
Install the required dependencies. |
Open /Client_iOS/chat.xcodeproj to check the iOS/watchOS client project.
Note: | is the pipe character, but isn't being rendered correctly in bitbucket.
| Message | Description |
|---|---|
| U|(username) | Tells you what is your username. |
| C|(connectedCount) | Tells you the number of connected users at the moment. |
| M|(time)|(username)|(message) | Received a message. |
| J|(username) | A user joined the chat. |
| L|(username) | A user left the chat. |
| Message | Description |
|---|---|
| R | A client is ready, send his username and the last chat messages. |
| M|(username)|(message) | Received a message. |

