Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update /screenings endpoint to return full info on screenings. | Harald Eilertsen | 2019-04-28 | 1 | -2/+2 |
| | | | | | This makes each screening record self-contained, and the json payload more consistent with how it semantically fit together. | ||||
* | Import model structs to main models module. | Harald Eilertsen | 2019-04-08 | 3 | -5/+5 |
| | |||||
* | Move functions to query/modify db to connection object. | Harald Eilertsen | 2019-04-08 | 3 | -4/+4 |
| | | | | | | Makes tha API a bit nicer by asking the database rather than passing the database on to each model. Reserve models for method/functions that work on the model structs themselves. | ||||
* | Add endpoint to fetch screenings from the database. | Harald Eilertsen | 2019-04-08 | 1 | -0/+32 |
| | | | | | | Not entirely happy about the way this turned out for now. A more ergonomic return type from the models::screenings::get_all() function will be investigated. | ||||
* | Add route to fetch films from database. | Harald Eilertsen | 2019-04-02 | 1 | -0/+32 |
| | |||||
* | Actually fetch available rooms from the database. | Harald Eilertsen | 2019-03-21 | 1 | -5/+8 |
| | |||||
* | Refactoring, move db connection and room controller to separate modules. | Harald Eilertsen | 2019-03-04 | 1 | -0/+29 |