aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Drop attribute no longer needed from lib.Harald Eilertsen2019-08-101-1/+1
| | | | Feature has been stabilized so no need to explicitly enable it anymore.
* Rename Screening model to AggregateScreeningHarald Eilertsen2019-08-101-1/+1
|
* Import model structs to main models module.Harald Eilertsen2019-04-081-1/+1
|
* Add endpoint to fetch screenings from the database.Harald Eilertsen2019-04-081-2/+3
| | | | | | 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 Eilertsen2019-04-021-2/+3
|
* Actually fetch available rooms from the database.Harald Eilertsen2019-03-211-1/+5
|
* Pass database url into build_rocket helper function.Harald Eilertsen2019-03-201-4/+1
|
* Refactoring, move db connection and room controller to separate modules.Harald Eilertsen2019-03-041-20/+7
|
* Use rocket_contrib's JsonValue as return type.Harald Eilertsen2019-03-041-3/+4
|
* Begin implement /rooms endpoint.Harald Eilertsen2019-03-041-0/+58
Refactors the code by moving the implementation to a library, to make it testable. A dummy /rooms endpoint returning an empty list was added as well.