Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement responder for IndexTemplate. | Harald Eilertsen | 2017-11-17 | 1 | -3/+15 |
| | | | | | | | This means the actual handler just returns the template, which is then rendered by the responder for that type. Looking into making this generic so the responder can return data in other formats as well, like json or xml. | ||||
* | Set correct content-type for response. | Harald Eilertsen | 2017-11-16 | 1 | -2/+3 |
| | |||||
* | Render post teasers using partial. | Harald Eilertsen | 2017-11-16 | 2 | -3/+9 |
| | |||||
* | Pass posts to the template and iterate over them. | Harald Eilertsen | 2017-11-16 | 2 | -8/+6 |
| | |||||
* | Add Bart templating engine. | Harald Eilertsen | 2017-11-16 | 3 | -10/+26 |
| | |||||
* | Add schema for posts, and display them on index page. | Harald Eilertsen | 2017-10-01 | 6 | -4/+41 |
| | |||||
* | Get database connection on request | Harald Eilertsen | 2017-10-01 | 2 | -1/+34 |
| | |||||
* | Move database setup to lib.rs. | Harald Eilertsen | 2017-10-01 | 2 | -28/+29 |
| | |||||
* | Connect to database pool when igniting. | Harald Eilertsen | 2017-10-01 | 1 | -1/+29 |
| | |||||
* | Add dependency to r2d2 to manage database access. | Harald Eilertsen | 2017-10-01 | 1 | -0/+2 |
| | |||||
* | Ignore .env file | Harald Eilertsen | 2017-10-01 | 1 | -0/+1 |
| | |||||
* | Add dep to diesel, and set it up. | Harald Eilertsen | 2017-10-01 | 3 | -0/+41 |
| | |||||
* | Commit gitignore | Harald Eilertsen | 2017-10-01 | 1 | -0/+3 |
| | |||||
* | Initial launch! | Harald Eilertsen | 2017-10-01 | 3 | -0/+46 |