Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kengen1/vivid-sync

Web application built with the MERN stack for interfacing with a 73x16 ws2812b LED strip board across networks. The project aims to solve the constraint of having to physically transfer lighting instructions from a local device to an RGB controller.
https://github.com/kengen1/vivid-sync

aws-sdk expressjs mern mongodb nodejs reactjs tailwind-css

Last synced: about 2 months ago
JSON representation

Web application built with the MERN stack for interfacing with a 73x16 ws2812b LED strip board across networks. The project aims to solve the constraint of having to physically transfer lighting instructions from a local device to an RGB controller.

Awesome Lists containing this project

README

        

# Vivid Sync: RGB-LED Information Display System

home_actual

request_actual

Demo_Screenshot2

Demo_Screenshot2

## Notes:
- it is suggested to use Google chrome when accessing this application to prevent any issues with display from other browsers
- Dependency version: NodeJS (v18.17.1.)

## How to locally run application

### React application (client)
```sh
cd client
```
```sh
npm install
```
```sh
npm start
```
- change all instances of 54.252.255.57:3001 to localhost:3001 so the client calls the server side endpoints on the correct port

### Node application (server)
```sh
cd server
```
```sh
npm install
```
```sh
npm index.js
```

## How to deploy application
- putty into EC2 instance
```sh
cd display_board_interface
```
```sh
git pull
```
```sh
cd client
```
```sh
npm run build
```
```sh
sudo cp -r build/* /var/www/display_board_interface
```
```sh
sudo systemctl reload nginx
```
```sh
cd server
```
```sh
sudo nano pingPi.js
```
- change PI_URL to raspberry pi address (right now this is just the ngrok url)

```sh
sudo nano sendPi.js
```
- change PI_URL to raspberry pi address (right now this is just the ngrok url)
```sh
npm index.js
```
- once a static ip address and port forwarding rule has been estabished by IT, you can implement PM2 to have the server run as a background process