Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/harshitv21/virtual-device-simulation

Controlling multiple devices remotely using express and socket connection in real-time.
https://github.com/harshitv21/virtual-device-simulation

express-js react simulation socket-io

Last synced: 3 days ago
JSON representation

Controlling multiple devices remotely using express and socket connection in real-time.

Awesome Lists containing this project

README

        

# Virtual Device Simulation

![Deployement](https://custom-icon-badges.demolab.com/badge/Deployment-Netlify-orange?style=for-the-badge&logo=Netlify&logoColor=blue) ![Deployement](https://custom-icon-badges.demolab.com/badge/Deployment-Railway.app-purple?style=for-the-badge&logo=railway&logoColor=white) ![Socket-io](https://custom-icon-badges.demolab.com/badge/Socket-io?style=for-the-badge&logo=socket-io&logoColor=white) ![Requests](https://custom-icon-badges.demolab.com/badge/Connections-Node%20+%20Express.js-green?style=for-the-badge&logo=express&logoColor=white)

Managing state of devices remotely in a virtual simulated environment through express.js, socket.io and UI in React.

## Deployed Websites

Here are the links for the deployed client and server applications

- [Client side](https://clever-starburst-b39744.netlify.app/)
- [Server side](https://boisterous-trifle-04c5c1.netlify.app/)

## Install Dependencies

Go to each individual directory (`client-ui`, `server-ui` & `server`) and run this command

```bash
npm i
```

## Client side UI

```bash
cd client-ui
npm run devices
```

## Server

First start up the server

```bash
cd server
npm run server
```

## Server side UI

For webpage (from where actual changes will be made to server)

```bash
cd server-ui
npm run server-ui
```

---