Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/kengen1/vivid-sync
- Owner: kengen1
- Created: 2023-11-02T13:58:27.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-03T11:42:27.000Z (9 months ago)
- Last Synced: 2024-04-03T12:56:17.415Z (9 months ago)
- Topics: aws-sdk, expressjs, mern, mongodb, nodejs, reactjs, tailwind-css
- Language: JavaScript
- Homepage: http://54.252.255.57/
- Size: 16.3 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vivid Sync: RGB-LED Information Display System
## 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