1. 19 Dec, 2017 1 commit
  2. 25 Sep, 2017 1 commit
  3. 20 Sep, 2017 1 commit
  4. 11 Aug, 2017 1 commit
  5. 10 Aug, 2017 1 commit
  6. 09 Aug, 2017 2 commits
  7. 01 Aug, 2017 1 commit
  8. 24 Jul, 2017 1 commit
  9. 07 Jul, 2017 1 commit
  10. 20 Jun, 2017 1 commit
  11. 10 May, 2017 2 commits
  12. 11 Nov, 2016 1 commit
  13. 01 Nov, 2016 1 commit
  14. 31 Oct, 2016 1 commit
  15. 28 Oct, 2016 1 commit
  16. 03 Oct, 2016 1 commit
  17. 29 Sep, 2016 1 commit
  18. 28 Sep, 2016 1 commit
  19. 20 Sep, 2016 1 commit
  20. 15 Sep, 2016 2 commits
  21. 14 Sep, 2016 1 commit
  22. 05 Sep, 2016 1 commit
  23. 02 Sep, 2016 1 commit
  24. 29 Aug, 2016 1 commit
    • 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.
      ed91f01e
  25. 17 Aug, 2016 1 commit
    • João Victor Risso's avatar
      Change API to use ECMAScript6 · 00a87dec
      João Victor Risso authored
      Major modifications:
      - Source code is now in the src directory
      - All source files were adapted to ECMAScript6
      - Add Gulpfile and Babel to transcompile the project from ES6 to ES5 (until Node.js fully supports ES6)
      	- By running gulp one generates the build directory with the files transcompiled, from which the API can be run
      - Add ESLint to check for syntax errors and enforce code standards
      	- Javascript coding standard currently adopted is AirBnB with 4 spaces
      - Replace monetdb package with monetdb-pool, which allows for concurrent queries over a pool of connections while maintaining the same interface
      
      TODO (in order of priority, from high to low):
      - Add Gulp tasks to handle automatic building, tests and running the server in order to deprecate using npm
      - Implement decorator to execute the SQL queries and reduce code duplication.
      - Implement SQL query builder (e.g. squel.js) to erradicate the need for embedding SQL directly into the code (which is error-prone).
      - Change enrollments route not to use route chaining in order to decide which SQL query is appropriate to respond the user's request.
      - Implement decorator for API responses and also reduce code duplication.
      - Split up tests into and add more test cases.
      Signed-off-by: João Victor Risso's avatarJoão Victor Risso <jvtr12@c3sl.ufpr.br>
      00a87dec
  26. 04 Jul, 2016 1 commit
  27. 15 Jun, 2016 1 commit