algoristas / api

Algorists dashboard API
4 stars 1 forks source link

Setup docker and make endpoints return data. #1

Closed rendon closed 7 years ago

rendon commented 7 years ago

I setup Docker as it is a fantastic technology for our application to run on the same environment in development and in production, this should help reduce inconsistencies, which usually happen because the environment used in development does not match the one used on production.

Also updated /v1/results and /v1/standings to return static JSON data, and added /v1/problems/sets. This static content will eventually be replaced with real data, we're returning fixed content so that the frontend can start obtaining data from the API.

rendon commented 7 years ago

@dventura11 I added some tests and some docs to the code. For the database I'm using the DAO pattern, I'm not 100% happy with the code though, I'll probably change a lot of things later.