Skip to content

LUSHDigital/lrpi_scentroom_ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lush ScentRoom Colour and Audio Uploader

NOTE: SWAGGER NEEDS UPDATING

React application interactive colour and audio uploader for use with Lush Spa treatments.

UI Features

  1. File Selector - Select audio file to play through audio system
  2. Colour Picker - Select hexadecimal colour value to display dynamic lighting
  3. Submit - Send selected values to the flask server
  4. Test - both press and hold to test the audio/lighting and start forever and end that same start

How to output to Lush Scentroom Flask app

  1. Navigate to the project directory in terminal
  2. Run 'npm run build' - This will output to the local project build folder
  3. Copy build folder directly into flaskLushProject directory
  4. Then follow instructions given in Lush Scentroom Flask App

Helpers

'npm start'

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published