taijinlee / wedding

wedding
0 stars 0 forks source link

Install procedure

  1. Install and run Mongodb on standard port
  2. Copy config file config/default.js.sample to config/default.js and fill in the appropriate fields

'run' file

High level framework documentation

The framework is built in layers. Layers can be asynchronous.

  1. Routes -- routes for a single resource only to transform parameters (app/routes/)
    • calls middleware for parameter checks (app/middleware)
  2. Handlers -- handles insertion into history (app/handlers/)
    • returns data when read operations
    • writes minimal amount of data to log what happened in history for write operations (history/history)
  3. Historian -- business logic of what tables to populate based on what has happened (historian/)
    • can become async, but right now synchronously called right after a history element is inserted

Rebase workflow

For collaborators, I prefer rebase workflow as opposed to merge workflow.