-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from composer22/feature/server
Feature/server Cleanup
- Loading branch information
Showing
15 changed files
with
62 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,3 @@ | ||
## ChattyPantz Client Demo | ||
## ChattyPantz Client Demos | ||
|
||
This folder contains a simple demonstration of a client connection to the server using javascript and html. | ||
|
||
### Dependencies | ||
|
||
* You must be connected to the internet to load CDN angular.js, semnatic-ui.js, and jquery.js. | ||
* The server should be running on localhost:6660 | ||
|
||
### Instructions | ||
|
||
Assumption: server is up and running on localhost:6660. | ||
|
||
If needed, you can change the API host and port endpoint in scripts/services/api.js: | ||
``` | ||
var server = "ws://127.0.0.1:6660/v1.0/chat"; | ||
``` | ||
1. Load app/index.html in your browser. | ||
2. Enter a nickname. | ||
3. Connect to the server. | ||
|
||
You will be placed into room "Demo". A list of user nicknames from the room will also be displayed. | ||
NOTE: If your nickname already exists when logging into the room, you will be warned and disconnected. | ||
|
||
4. Now, send your messages. | ||
5. When you are done, disconnect from the server. | ||
|
||
### Enhancements | ||
|
||
The application doesn't demonstrate multi-room management, nor does it demonstrate the following request types: | ||
* GET_NICKNAME: 102 | ||
* LIST_ROOMS: 103 | ||
* HIDE: 106 | ||
* UNHIDE: 107 | ||
Subfolders in this directory demonstrate client side connections to the Chattypantz server. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
## ChattyPantz Client Demo - Angular.js | ||
|
||
This folder contains a simple demonstration of a client connection to the server using javascript and html. | ||
|
||
### Dependencies | ||
|
||
* You must be connected to the internet to load CDN angular.js, semnatic-ui.js, and jquery.js. | ||
* The server should be running on localhost:6660 | ||
|
||
### Instructions | ||
|
||
Assumption: server is up and running on localhost:6660. | ||
|
||
If needed, you can change the API host and port endpoint in scripts/services/api.js: | ||
``` | ||
var server = "ws://127.0.0.1:6660/v1.0/chat"; | ||
``` | ||
1. Load app/index.html in your browser. | ||
2. Enter a nickname. | ||
3. Connect to the server. | ||
|
||
You will be placed into room "Demo". A list of user nicknames from the room will also be displayed. | ||
NOTE: If your nickname already exists when logging into the room, you will be warned and disconnected. | ||
|
||
4. Now, send your messages. | ||
5. When you are done, disconnect from the server. | ||
|
||
### Enhancements | ||
|
||
The application doesn't demonstrate multi-room management, nor does it demonstrate the following request types: | ||
* GET_NICKNAME: 102 | ||
* LIST_ROOMS: 103 | ||
* HIDE: 106 | ||
* UNHIDE: 107 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.