| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
Rust will run tests in parallel by default, which does not work
too well with using db transactions as a means to isolate changes
in the database between tests. So we have to run the database
tests one at a time, thus the mutex.
|
| |
|
| |
|
|
|
|
|
| |
Set the env var DATABASE_URL before running the server. A .env file in
the root of the project is also supported.
|
| |
|
|
|
|
|
|
|
| |
This also changes the structure of the app quite significantly. Instead
if generating the html for the index, we simply provide a public/index.html
static file instead. For now this seems to make sense, it may not hold in
the long run, but that's for another time to worry about.
|
|
|
|
| |
Let's us return templates directly, and have rocket render it for us.
|
| |
|
| |
|
|
|