Skip to content

Application structure

aendrew edited this page Oct 22, 2014 · 1 revision
  • app/ -- main source code folder, served via grunt serve
    • scripts/
      • controllers/
        • main.js -- main controller
      • directives/
        • buildChart.js -- directive for redrawing and populating the chart preview
        • exportChart.js -- directive for exporting the chart to file or CMS
      • app.js -- main module declaration; dependencies
    • styles/
      • main.scss -- Sass file with all UI styling
    • views/
      • main.html -- main UI view
    • index.html -- wrapper page; loads dependencies
  • dist/ -- built versions of code via grunt build
  • docs/ -- auto-generated API documentation
  • test/ -- automated testing specs and configuration; follows structure of app/scripts/