This week I was in charge of creating/helping for the database models. Victor created the user, station and Bike structure. I suggested to add a Trip structure because I thought it would be helpful to know the way a Bike took through time, otherwise we would only know its final station and for the predictive analysis the trip would say a lot of useful information.
I did this comment on the pull request:
Then I created the structure for the Trip model
As it was necessary to know where the bikes end at the end of the day and separate them into groups, the trip model helps perfectly in this.
For the database I suggested using a nosql since we are not going to have so many relations and I saw it easier, victor told me to use redis.
I created a CRUD for the trip model.