Skip to content
Snippets Groups Projects
  1. Mar 27, 2017
  2. Mar 22, 2017
  3. Mar 21, 2017
  4. Mar 17, 2017
  5. Mar 16, 2017
  6. Mar 07, 2017
  7. Mar 06, 2017
  8. Feb 20, 2017
  9. Jan 10, 2017
  10. Dec 09, 2016
  11. Dec 08, 2016
  12. Dec 05, 2016
  13. Dec 02, 2016
  14. Nov 28, 2016
  15. Nov 04, 2016
  16. Oct 24, 2016
    • João Victor Tozatti Risso's avatar
      Migrate API to v2 database schema · d38e8612
      João Victor Tozatti Risso authored
      Change SQL queries in the following routes:
      
      * city
      * state
      * region
      * school
      * enrollment
      
      Also, change tests to reflect the new schema where appropriate. Specially in the case of cities, the primary key now becomes pk_cod_ibge (city IBGE code) and, therefore, any query that relies on the city id should use this value instead of the old primary key.
      
      Aliases of fields that have different names were added to ensure compatibility with the UI of LDE.
      
      Please refer to the database repository in order to understand how the current schema works. The corresponding ER diagram can be located there.
      d38e8612
  17. Oct 14, 2016
  18. Oct 04, 2016
  19. Sep 27, 2016
  20. Sep 22, 2016
  21. Sep 20, 2016
  22. Sep 16, 2016
  23. Sep 15, 2016
  24. Sep 13, 2016
  25. Sep 12, 2016
  26. Sep 06, 2016
  27. Sep 05, 2016
  28. Sep 02, 2016
  29. 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