https://github.com/zelflod/try-react
https://github.com/zelflod/try-react
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zelflod/try-react
- Owner: zelflod
- Created: 2019-01-26T21:35:06.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-26T21:35:30.000Z (over 7 years ago)
- Last Synced: 2025-03-30T15:44:06.112Z (about 1 year ago)
- Language: JavaScript
- Size: 359 KB
- Stars: 0
- Watchers: 0
- 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.