Skip to content

robertlong/farmbot-web-frontend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The frontend (HTML, CSS, JS App)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.7%
  • CSS 20.2%
  • HTML 0.1%