1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2024-12-27 16:02:27 -05:00
Commit Graph

9 Commits

Author SHA1 Message Date
c48c50d2c5 API: Move prices under securities
For example, instead of GETting /prices/5 to query a price with ID 5,
you now must GET /securities/2/prices/5 (assuming price 5's SecurityId
is 2)
2017-11-16 19:32:30 -05:00
5a6be5a07b Stop using form elements for API
Just send the JSON as the request body
2017-11-13 20:48:19 -05:00
9624f0c5bc Move to a consistent way of handling IDs in URLs 2017-11-12 21:15:00 -05:00
507868b7a5 Begin move away from using http.ServeMux 2017-11-12 20:17:27 -05:00
9429b748fa Prefix all API endpoints with 'v1/', pluralize collections 2017-11-11 08:05:09 -05:00
9b1b682bac prices: Implement initial API and tests 2017-11-10 20:13:49 -05:00
2ff1f47432 Remove duplicate *Tx versions of database access methods
Simplify naming to remove "Tx" now that all handlers only have access to
transactions anyway, and always use "tx" as the name of the variable
representing the SQL transactions (to make it less likely to cause
confusion with monetary transactions).
2017-10-14 19:41:13 -04:00
4e53a5e59c Use SQL transactions for the entirety of every request 2017-10-14 14:20:50 -04:00
d0a5980b85 First pass at reorganizing go code into sub-packages 2017-10-04 19:35:59 -04:00