aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
Commit message (Expand)AuthorAgeFilesLines
* Move controller code to own module.Harald Eilertsen2018-01-111-2/+9
* Drop the lib.Harald Eilertsen2018-01-111-7/+12
* Adding edit/update logic.Harald Eilertsen2018-01-101-1/+1
* Order and cosmetics on extern crate declarations.Harald Eilertsen2017-12-301-4/+5
* Move creating post in db to Post model impl.Harald Eilertsen2017-12-231-1/+1
* Implement posts/show handler.Harald Eilertsen2017-12-231-1/+1
* Move get_post into impl and rename.Harald Eilertsen2017-12-231-2/+2
* Move get_posts function to models.Harald Eilertsen2017-12-231-11/+2
* Move implement_responder_for macro into crate.Harald Eilertsen2017-12-231-25/+1
* Move posts module to it's own source file.Harald Eilertsen2017-12-171-30/+2
* Move responder impl's for templates to a macro.Harald Eilertsen2017-11-221-15/+19
* Add handlers for creating new Posts.Harald Eilertsen2017-11-221-0/+40
* Use route decorators to produce different output formats.Harald Eilertsen2017-11-201-22/+21
* Use serde_json to create json response when requested by client.Harald Eilertsen2017-11-201-7/+18
* Implement responder for IndexTemplate.Harald Eilertsen2017-11-171-3/+15
* Set correct content-type for response.Harald Eilertsen2017-11-161-2/+3
* Pass posts to the template and iterate over them.Harald Eilertsen2017-11-161-6/+2
* Add Bart templating engine.Harald Eilertsen2017-11-161-10/+15
* Add schema for posts, and display them on index page.Harald Eilertsen2017-10-011-2/+19
* Get database connection on requestHarald Eilertsen2017-10-011-1/+1
* Move database setup to lib.rs.Harald Eilertsen2017-10-011-28/+2
* Connect to database pool when igniting.Harald Eilertsen2017-10-011-1/+29
* Initial launch!Harald Eilertsen2017-10-011-0/+15