https://github.com/ahmedelwerdany/full-stack-websocket-example
full-stack web socket , using "ws" in backend and webSocket API in frontend
https://github.com/ahmedelwerdany/full-stack-websocket-example
websocket websocket-client websocket-server
Last synced: 4 months ago
JSON representation
full-stack web socket , using "ws" in backend and webSocket API in frontend
- Host: GitHub
- URL: https://github.com/ahmedelwerdany/full-stack-websocket-example
- Owner: AhmedElwerdany
- Created: 2022-01-29T22:45:45.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-05T04:36:35.000Z (over 3 years ago)
- Last Synced: 2025-06-17T03:01:54.375Z (4 months ago)
- Topics: websocket, websocket-client, websocket-server
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Full Stack websocket example
it's more likely an echo server for websocket, using "ws" in back-end and vanilla javascript in front-end (webSocket API).### run backend
1. ``cd backend``
2. ``npm install``
3. ``npm run start``## run frontend
* ``cd frontend``
1. just open the html page in browser
* install **"live server"** extention on "vs code".
1. then right click "index.html"
2. choose "open with live server"