Skip to content

Repository Structure

dondi edited this page Jun 23, 2012 · 2 revisions

The doc directory holds assorted design and specification files.

The src directory contains Quo’s source code. The entry point into Quo is src/main/app.js. Within src/main are the following subdirectories:

  • conf includes scripts that set up and configure relevant parts of Quo, such as its underlying database.
  • controllers holds scripts that set up Quo’s web services. Typically, there is one JavaScript file for each family of services associated with a particular resource. One file serves as an exception: webapp.js handles URLs for the Quo web client, as opposed to back-end API services.
  • public holds directly-hosted files. These include CSS, JavaScript, or other resources that are to be read directly from the server.
  • views holds web page definition files, written in Jade.
Clone this wiki locally