aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
Commit message (Collapse)AuthorAgeFilesLines
* Set up database and connection pool with rocket_contrib::databases.Harald Eilertsen2019-03-041-2/+28
| | | | | Set the env var DATABASE_URL before running the server. A .env file in the root of the project is also supported.
* Use rocket_contrib StaticFiles module to serve static files.Harald Eilertsen2019-03-041-26/+3
| | | | | | | 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.
* Enable askama rocket integration.Harald Eilertsen2019-03-031-7/+3
| | | | Let's us return templates directly, and have rocket render it for us.
* Add license.Harald Eilertsen2019-03-021-0/+17
|
* Use askama for templates.Harald Eilertsen2019-03-021-3/+19
|
* Add favicon and route to get public files.Harald Eilertsen2019-03-021-2/+8
|
* Into space...Harald Eilertsen2019-03-021-0/+12