https://github.com/ucx15/websocks
Implementation of WebSockets using Node.js and WebSockets API
https://github.com/ucx15/websocks
javascript nodejs websocket
Last synced: about 1 month ago
JSON representation
Implementation of WebSockets using Node.js and WebSockets API
- Host: GitHub
- URL: https://github.com/ucx15/websocks
- Owner: ucx15
- License: mit
- Created: 2024-12-02T17:48:45.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-03T05:51:18.000Z (over 1 year ago)
- Last Synced: 2025-02-26T22:20:24.483Z (over 1 year ago)
- Topics: javascript, nodejs, websocket
- Language: JavaScript
- Homepage:
- Size: 178 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# WebSockets Demonstration
> [!WARNING]
> Though, I'm iteratively making it better but this is for only demonstration purposes **ONLY** and should not be used in production.
This is a simple implementation of WebSockets using Node.js on backend and WebSockets API on frontend for demonstration purposes ONLY. It can bev used in other projects after some tweaks and modifications.
## Requirements
- Node.Js
- express
- nodemon
- ws
## Quick Start
### Backend
PORT: `5000`
```bash
$ cd ./Server
$ npm i
$ npm run dev
```
### Frontend
PORT: `3000`
```bash
$ cd ./Client
$ npm i
$ npm run dev
```
The Frontend should be running on [http://localhost:3000](http://localhost:3000).
The Backend should be running on [http://localhost:5000](http://localhost:5000). (Not to be accessed via browser)
## Gallery


[ucx15 @ GitHub](https://github.com/ucx15)