https://github.com/tomoat/fcc-challenge
https://github.com/tomoat/fcc-challenge
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tomoat/fcc-challenge
- Owner: tomoat
- Created: 2017-05-06T17:12:56.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-05-11T18:25:40.000Z (about 4 years ago)
- Last Synced: 2025-03-03T08:14:03.695Z (over 1 year ago)
- Language: HTML
- Size: 107 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
,-----.,--. ,--. ,---. ,--.,------. ,------.
' .--./| | ,---. ,--.,--. ,-| || o \ | || .-. \ | .---'
| | | || .-. || || |' .-. |`..' | | || | \ :| `--,
' '--'\| |' '-' '' '' '\ `-' | .' / | || '--' /| `---.
`-----'`--' `---' `----' `---' `--' `--'`-------' `------'
-----------------------------------------------------------------
Welcome to your Node.js project on Cloud9 IDE!
This chat example showcases how to use `socket.io` with a static `express` server.
## Running the server
1) Open `server.js` and start the app by clicking on the "Run" button in the top menu.
2) Alternatively you can launch the app from the Terminal:
$ node server.js
Once the server is running, open the project in the shape of 'https://projectname-username.c9users.io/'. As you enter your name, watch the Users list (on the left) update. Once you press Enter or Send, the message is shared with all connected clients.