brightsign / dev-cookbook

Templates, examples, and recipes for BrightSign devices 👩‍🍳
MIT License
9 stars 1 forks source link

Run a Nodejs server along with a React app #3

Closed diegobrsign closed 8 months ago

diegobrsign commented 9 months ago

This sample shows how you can run a simple Node.js service that hosts an API and a React frontend on the same port. You can update the displayed text using the /text endpoint.

added a dashboard example app that displays the following, showing how to read more of the device data:

image
bhastings1019 commented 8 months ago

@diegobrsign Is this in a state ready to merge?

bhastings1019 commented 8 months ago

Requesting re-review from @lherlein and myself.

bhastings1019 commented 8 months ago

The information needed to "create a new app from a template as a developer", "build for development as a maintainer" seems to be lacking.

Could you add details explaining the "creation" and "maintenance" information needed to get started?

bhastings1019 commented 8 months ago

Would be good to mention some of the dashboard's project structure.

Also what the "build't" (npm run build:prod etc all build scripts), intended built structure is intended to be during runtime on the player. I had my own script leveraging bsc not realizing the /public/* contents should be in /dist/.