Skip to content
Snippets Groups Projects
  1. Jan 10, 2017
  2. Dec 09, 2016
  3. Sep 27, 2016
  4. Sep 22, 2016
  5. Sep 20, 2016
  6. Sep 06, 2016
  7. Sep 02, 2016
  8. Aug 29, 2016
    • 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
Loading