Directory StructureΒΆ

This is the directory structure for the entire MEMCloud repository

In the mem directory

  • app - this contains all the files for the web applications

    • models- the html and typescript for the front-end

      • dashboard- this contains all the typescript stuff. See Web dashboard file structure for more details about the web dashboard files.
      • *.html - all the html files for displaying static content
    • appConstant.js - constants for the HTTP related services

    • appDatabaseService.js - This should be deleted. This is the obsolete version of webDatabaseService.js.

    • routes.js - this handles all the routes for the web application. Pretty straightforward.

    • webDatabaseService.js - This acts as an interface between the RESTful service and database. Any request to pull certain info from the database is routed through this.

  • clients - files for emulating the HEM clients

  • cloud - contains all the files for the MEM

  • config - contains configuration file for the web app

  • log - contains log for the web app

  • modules - this is dummy for now.

  • public - contains all the public facing files - stylesheets, javascript modules, html etc.

  • app.js - this file starts the web app

  • package.json - all the JS module dependencies