Welcome to Sleuth! Let's show you around.
The following is the structure of the application, with a single-line explanation for each directory. This was generated
using the tree
command at the root directory:
# only list directories, and ignore these directories
tree -d -I 'tmp|spec|channels|mailers|views|bin|log|public|storage|vendor'
app
- where all the application code lives, except tests and one-off commands/rake tasksapp/controllers
- where http(s) requests get routed toapp/jobs
- things that run in background processes, or kick off background processesapp/models
- Ruby classes that represent database tablesapp/modules/configuration
- Ruby classes representingyml
files found in theconfig/
directoryapp/services
- APIs for talking to external vendors, data brokers, etcapp/services/<broker>/domain
- models that represent the<broker>
's business logic, such as aPerson
app/services/<broker>/parsers
- models that parse responses (html, json, etc) provided by<broker>
into usable code for us