Skip to content

Front End

Emad Aghayi edited this page Jul 13, 2018 · 18 revisions
  • All files of the front end part are placed in the public package. The project uses Grunt to concatenate files. It is placed in public/client/Gruntfile.js

Important files and the logic they are implemented

  • all css content is placed in public/client/client.css
  • clientDist/client.ejs is the entry point for the project
  • public/client/microtasks/microtasks.service.js, this file handle all function call between front-end and backend
  • Welcome.html, login.html is the first pages.
  • All third parties are downloaded and placed in the include folder
  • api.js file tell you which functions are connected to the backend
  • describeBehavior.js is the entry point for running tests
  • test_runner is the directory is for debugging the test section
  • dependencies.js is responsible for dependency injection
  • microtaskForm.directive.js is responsible for submitting the function and skip a task.
  • describeBehavior.js is responsible for handling all tests in the dashboard
  • public/client/test_runner folder contains all validation and running logics for the tests.
  • microtaskForm.directive.js is responsible for handling all fetching and skipping in the front end in the dashboard
  • function_editor.html contains editor for coding. It uses ACE 3rd party lib.