aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Update readme with Vagrant setupHarald Eilertsen2018-01-111-2/+28
* Vagrantfile: Need to start postgres before creating db user.Harald Eilertsen2018-01-111-5/+5
* Add vagrantfile to move setup away from local machine.Harald Eilertsen2018-01-112-0/+80
* Implement actually updating database.Harald Eilertsen2018-01-101-10/+14
* Make proper module of modelsHarald Eilertsen2018-01-102-4/+7
* Adding edit/update logic.Harald Eilertsen2018-01-105-6/+63
* Order and cosmetics on extern crate declarations.Harald Eilertsen2017-12-302-12/+10
* Move creating post in db to Post model impl.Harald Eilertsen2017-12-233-16/+19
* Implement posts/show handler.Harald Eilertsen2017-12-234-1/+40
* Don't import modules in macro.Harald Eilertsen2017-12-231-10/+5
* Move get_post into impl and rename.Harald Eilertsen2017-12-232-8/+10
* Move get_posts function to models.Harald Eilertsen2017-12-232-11/+11
* Move implement_responder_for macro into crate.Harald Eilertsen2017-12-234-26/+32
* Move posts module to it's own source file.Harald Eilertsen2017-12-172-30/+29
* Update READMEHarald Eilertsen2017-12-171-0/+35
* Add readmeHarald Eilertsen2017-11-221-0/+5
* Add licenseHarald Eilertsen2017-11-221-0/+661
* Move responder impl's for templates to a macro.Harald Eilertsen2017-11-221-15/+19
* Add handlers for creating new Posts.Harald Eilertsen2017-11-224-1/+81
* Derive FromForm for models::Post.Harald Eilertsen2017-11-212-1/+4
* Implement default trait for Posts using derive.Harald Eilertsen2017-11-211-1/+1
* Use route decorators to produce different output formats.Harald Eilertsen2017-11-202-22/+26
* Use serde_json to create json response when requested by client.Harald Eilertsen2017-11-204-8/+25
* Implement responder for IndexTemplate.Harald Eilertsen2017-11-171-3/+15
* Set correct content-type for response.Harald Eilertsen2017-11-161-2/+3
* Render post teasers using partial.Harald Eilertsen2017-11-162-3/+9
* Pass posts to the template and iterate over them.Harald Eilertsen2017-11-162-8/+6
* Add Bart templating engine.Harald Eilertsen2017-11-163-10/+26
* Add schema for posts, and display them on index page.Harald Eilertsen2017-10-016-4/+41
* Get database connection on requestHarald Eilertsen2017-10-012-1/+34
* Move database setup to lib.rs.Harald Eilertsen2017-10-012-28/+29
* Connect to database pool when igniting.Harald Eilertsen2017-10-011-1/+29
* Add dependency to r2d2 to manage database access.Harald Eilertsen2017-10-011-0/+2
* Ignore .env fileHarald Eilertsen2017-10-011-0/+1
* Add dep to diesel, and set it up.Harald Eilertsen2017-10-013-0/+41
* Commit gitignoreHarald Eilertsen2017-10-011-0/+3
* Initial launch!Harald Eilertsen2017-10-013-0/+46