Skip to content
Snippets Groups Projects
  1. Sep 02, 2016
  2. Aug 31, 2016
  3. Aug 29, 2016
    • João Victor Risso's avatar
    • João Victor Risso's avatar
      Clear build directory · 9f1da16d
      João Victor Risso authored
      Remove all files from build directory. The rationale is that this
      directory is updated frequently during the development process and might
      add too much 'noise' in the commits in the repository.
      Unverified
      9f1da16d
    • João Victor Risso's avatar
      Refactor source structure and add promise to execute DB queries · ed91f01e
      João Victor Risso authored
      Changes in this commit:
      - Singularize all routes and components
      - Separate different modules into their own source files
      - Rename the API module to enrollment and add a more general API module
      - Resources that are related to a route, are now under its scope. For
        example, the year range of the enrollment component is now under the
        route /v1/enrollment/year_range
      - Implement a thenable function to execute the queries against the
        database to reduce the amount of duplicated code in the application. This
        approach also allows several concurrent queries to run concurrently in the
        same route.
      Unverified
      ed91f01e
  4. Aug 25, 2016
    • Vytor Calixto's avatar
      Add dimensions middleware · 73273083
      Vytor Calixto authored
      EXAMPLE USAGE:
      
      * Use it with no parameters to get all the dimensions in the query: `app.get('/', dimensions(), function(req, res, next){})`
      * Use it with an array of accepted values: `app.get('/', dimensions(['year', 'location']), function(req, res, next){})`
      * Use it globally: `app.use(dimensions())`
      73273083
  5. Aug 17, 2016
Loading