Skip to content

Latest commit

 

History

History
52 lines (42 loc) · 3.39 KB

README.md

File metadata and controls

52 lines (42 loc) · 3.39 KB

Home Automation UI using React-Redux

This repository holds the front-end html, css, javascript, images and more. The front-end uses React-Redux, Materia-UI, and Sass 3.

JavaScript Style Guide Dependencies DevDependencies

I suggest you first read about the different components of the home automation application.
This will help you understand better the general architecture and different functions of the system.

Static Deployments

If you are serving the application via a web server such as nginx, make sure to direct incoming routes to the root ~/dist/index.html file and let react-router take care of the rest. If you are unsure of how to do this, you might find this documentation helpful.

Environment variables (configuration)

NODE_ENV (required): set up the running environment. Default: production. production will enforce encryption using SSL and other security mechanisms.
ALARM_URL (required): url to the alarm system server. Default: //localhost:3002
CAMERA_URL (required): url to the camera server. Default: //localhost:3007
GARAGE_URL (required): url to the garage server. Default: //localhost:3003
LOGIN_URL (required): url to the authentication server. Default: //localhost:3001

License

AGPL-3.0

Author

Oron Nadiv ([email protected])