-
Notifications
You must be signed in to change notification settings - Fork 18
Annotated File Directory
David Gertmenian-Wong edited this page Aug 23, 2014
·
6 revisions
##Annotated File Directory ###High level architecture of important folders and files
plateful
βββ app #Contains all client-side code.
βΒ Β βββ css
βΒ Β βΒ Β βββ app.scss #Custom app CSS.
βΒ Β βΒ Β βββ ionic.scss #Ionic bootstrap CSS.
βΒ Β βββ index.jade #App index page.
βΒ Β βββ js
βΒ Β Β Β βββ App.coffee #Initialize angular's app.
βΒ Β Β Β βββ config
βΒ Β Β Β βΒ Β βββ appCtrl.coffee #Contains the $scope of the whole app.
βΒ Β Β Β βΒ Β βββ app_run.coffee #Configure app.
βΒ Β Β Β βΒ Β βββ common
βΒ Β Β Β βΒ Β βββ factories #Contains form and promise helper factories.
βΒ Β Β Β βΒ Β βββ services #Contains auth helper service.
βΒ Β Β Β βββ directives
βΒ Β Β Β βΒ Β βββ ngPlaces #Map view directive.
βΒ Β Β Β βΒ Β βββ ngRater #Rating view directive.
βΒ Β Β Β βΒ Β βββ ngSelect #Selector directive.
βΒ Β Β Β βββ factories #Factories that primarily deal with RESTful calls to the server.
βΒ Β Β Β βΒ Β βββ item
βΒ Β Β Β βΒ Β βββ menu
βΒ Β Β Β βΒ Β βββ photo
βΒ Β Β Β βΒ Β βββ review
βΒ Β Β Β βΒ Β βββ user
βΒ Β Β Β βββ modules
βΒ Β Β Β | βββ auth #Client OAuth module.
βΒ Β Β Β | βΒ Β βββ controllers
βΒ Β Β Β | βΒ Β βββ directives
βΒ Β Β Β | βΒ Β βββ services
βΒ Β Β Β | βΒ Β βββ views
βΒ Β Β Β | βββ geo #Geo Location module.
βΒ Β Β Β | βββ states #App controller and views.
βΒ Β Β Β | βΒ Β βββ app.states.coffee #States module
βΒ Β Β Β | βΒ Β βββ item #Item controller and views
βΒ Β Β Β | βΒ Β βΒ Β βββ controllers
βΒ Β Β Β | βΒ Β βΒ Β βββ views
βΒ Β Β Β | βΒ Β βββ map #Map controller and views
βΒ Β Β Β | βΒ Β βΒ Β βββ controllers
βΒ Β Β Β | βΒ Β βΒ Β βββ views
βΒ Β Β Β | βΒ Β βββ menu #Menu controller and views
βΒ Β Β Β | βΒ Β Β Β βββ controllers
βΒ Β Β Β | βΒ Β Β Β βββ views
βΒ Β Β Β | βββ tabs #Contains controller and view for each navigation tab.
βΒ Β Β Β | βββ Tabs.coffee #Tabs module.
βΒ Β Β Β | βββ TabsCtrl.coffee #Tabs controller.
βΒ Β Β Β | βββ items
βΒ Β Β Β | βΒ Β βββ ItemsTab.coffee #Items routing.
βΒ Β Β Β | βΒ Β βββ controllers
βΒ Β Β Β | βΒ Β βββ modals
βΒ Β Β Β | βΒ Β βββ views
βΒ Β Β Β | βββ me
βΒ Β Β Β | βΒ Β βββ MeTab.coffee
βΒ Β Β Β | βΒ Β βββ views
βΒ Β Β Β | βββ menus
βΒ Β Β Β | βΒ Β βββ MenusTab.coffee
βΒ Β Β Β | βΒ Β βββ controllers
βΒ Β Β Β | βΒ Β βββ modals
βΒ Β Β Β | βΒ Β βββ services
βΒ Β Β Β | βΒ Β βββ views
βΒ Β Β Β | βββ review
βΒ Β Β Β | βΒ Β βββ ReviewTab.coffee
βΒ Β Β Β | βΒ Β βββ controllers
βΒ Β Β Β | βΒ Β βββ views
βΒ Β Β Β | βββ settings
βΒ Β Β Β | βΒ Β βββ SettingsTab.coffee
βΒ Β Β Β | βΒ Β βββ controllers
βΒ Β Β Β | βΒ Β βββ views
βΒ Β Β Β | βββ tabs.jade #Tabs view.
βΒ Β Β Β βββ services #Helper functions.
βΒ Β Β Β βββ findDistance.coffee
βΒ Β Β Β βββ imagesService.coffee
βΒ Β Β Β βββ makeStars.coffee #Tabs view.
βββ assets #Client dependency files, images, and other static assets.
βββ bower.json #List of client dependencies to install before running.
βββ gulpfile.coffee #Task runner
βββ hooks #Tasks to run when compiling platform.
βββ import #Compiles import_server files in javascript. Ignore this folder.
βββ import_server #Contains all code for running complex database logic. Interacts with neo4j, postgreSQL and import server.
βΒ Β βββ app.coffee #Basic node import server.
βΒ Β βββ config #Import server configuration.
βΒ Β βΒ Β βββ api
βΒ Β βΒ Β βββ db
βΒ Β βΒ Β βββ environment
βΒ Β βΒ Β βββ express.coffee
βΒ Β βββ controller.coffee #API endpoints for each import server route.
βΒ Β βββ routes.coffee #Import server routes.
βββ node_modules #Server dependency files
βββ package.json #List of server dependencies to install before running.
βββ platforms #Different mobile device types to compile everytime gulp build is run via emulate. Ignore this folder.
βββ plugins #Cordova plugins.
βββ run #Compiles server_coffee files in javascript. Ignore this folder.
βββ server_coffee #Contains all server-side code.
βΒ Β βββ app.coffee #Basic node server.
βΒ Β βββ components #Currently handles error responses.
βΒ Β βββ config
βΒ Β βΒ Β βββ api #External API keys and configurations.
βΒ Β βΒ Β βββ environment #Environment configuration.
βΒ Β βΒ Β βββ express.coffee #Express configuration.
βΒ Β βΒ Β βββ local.env.coffee #Local environment configuration.
βΒ Β βΒ Β βββ neo4j.coffee #Neo4j connection.
βΒ Β βββ controllers #API endpoint for each database table.
βΒ Β βΒ Β βββ item.controller.coffee
βΒ Β βΒ Β βββ menu.controller.coffee
βΒ Β βΒ Β βββ review.controller.coffee
βΒ Β βββ models #Creates class with helper methods for each database table.
βΒ Β βΒ Β βββ Item.model.coffee
βΒ Β βΒ Β βββ Menu.model.coffee
βΒ Β βΒ Β βββ Review.model.coffee
βΒ Β βββ routes.coffee #Server routes.
βΒ Β βββ views #Server views. Currently only contains 404 error page.
βββ test #Test suite.
βββ www #Compiles app files in javascript. Ignore this folder.