https://github.com/windsting/fcc-test
A test project requested on freeCodeCamp.com.
https://github.com/windsting/fcc-test
Last synced: 5 months ago
JSON representation
A test project requested on freeCodeCamp.com.
- Host: GitHub
- URL: https://github.com/windsting/fcc-test
- Owner: windsting
- Created: 2017-05-30T16:32:36.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-30T16:34:49.000Z (about 9 years ago)
- Last Synced: 2025-01-23T11:45:26.775Z (over 1 year ago)
- Language: HTML
- Size: 107 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
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.