Skip to content

Latest commit

 

History

History
executable file
·
28 lines (22 loc) · 1022 Bytes

README.md

File metadata and controls

executable file
·
28 lines (22 loc) · 1022 Bytes

FarmBot Frontend

HTML, CSS, JS. Mostly React / WebPack

How?

  1. git clone https://github.com/FarmBot/farmbot-web-frontend.git
  2. cd farmbot-web-frontend
  3. npm install
  4. Move a copy of src/js/config.example.js over to src/js/config.js
  5. npm start
  6. Visit http://localhost:8080/webpack-dev-server/src/bundle
  7. Explore the codebase! js/app.js and js/app.js are a great place to start looking around.

Notes: Make sure you have node installed.

TODO / Refinements:

  • Port DeviceService over from old repo.
  • Port device management page business logic over.
  • Fetch all plants on startup.
  • Implement PLANT_FETCH_REQUEST at application start.
  • Add better async action support.
  • Integrate Immutable.js into action creators / dispatchers.
  • Add URL route helpers to keep things DRY (repetition of strings everywhere, eg: #s/designer?blah=).
  • Add test suite.
  • Add global error handler.
  • Get sourcemaps working