Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make proper module of models | Harald Eilertsen | 2018-01-10 | 1 | -51/+0 |
| | |||||
* | Adding edit/update logic. | Harald Eilertsen | 2018-01-10 | 1 | -3/+10 |
| | | | | The model is not done yet, though. No net on the train. | ||||
* | Move creating post in db to Post model impl. | Harald Eilertsen | 2017-12-23 | 1 | -7/+17 |
| | |||||
* | Implement posts/show handler. | Harald Eilertsen | 2017-12-23 | 1 | -0/+6 |
| | |||||
* | Move get_post into impl and rename. | Harald Eilertsen | 2017-12-23 | 1 | -6/+8 |
| | |||||
* | Move get_posts function to models. | Harald Eilertsen | 2017-12-23 | 1 | -0/+9 |
| | |||||
* | Add handlers for creating new Posts. | Harald Eilertsen | 2017-11-22 | 1 | -1/+11 |
| | |||||
* | Derive FromForm for models::Post. | Harald Eilertsen | 2017-11-21 | 1 | -1/+1 |
| | | | | | This allows us to pass in forms that will translate into proper form objects. | ||||
* | Implement default trait for Posts using derive. | Harald Eilertsen | 2017-11-21 | 1 | -1/+1 |
| | |||||
* | Use serde_json to create json response when requested by client. | Harald Eilertsen | 2017-11-20 | 1 | -1/+1 |
| | |||||
* | Add schema for posts, and display them on index page. | Harald Eilertsen | 2017-10-01 | 1 | -0/+7 |