Chris Tsang
|
aec111e035
|
Tweaks
|
2021-09-21 18:32:54 +08:00 |
|
Chris Tsang
|
2346d0beb8
|
Cargo fmt
|
2021-09-21 18:19:52 +08:00 |
|
Chris Tsang
|
547429c377
|
Sort by id
|
2021-09-21 18:19:21 +08:00 |
|
Chris Tsang
|
d6f0d3c35a
|
Fix clippy warnings
|
2021-09-21 18:13:48 +08:00 |
|
Chris Tsang
|
6d9727050e
|
Use compact Entity format
|
2021-09-21 18:13:35 +08:00 |
|
Chris Tsang
|
f7b42ebc0e
|
Clean up Cargo.toml
|
2021-09-21 18:04:26 +08:00 |
|
Sam Samai
|
ac8d84ea44
|
Just clone the state for each thread
|
2021-09-21 18:21:55 +10:00 |
|
Sam Samai
|
8a618f88c7
|
Start from page 1
|
2021-09-20 21:00:51 +10:00 |
|
Sam Samai
|
daa5ff77c0
|
Define SharedState type
|
2021-09-20 20:55:22 +10:00 |
|
Sam Samai
|
31bc662f3f
|
Use Arc to pass database connection to requests
|
2021-09-19 21:16:43 +10:00 |
|
Sam Samai
|
d623474d7c
|
Refactor flash
|
2021-09-17 20:17:17 +10:00 |
|
Sam Samai
|
8b46a89e2c
|
Add flash messages
|
2021-09-16 22:47:11 +10:00 |
|
Sam Samai
|
237dcaa6a9
|
Delete post
|
2021-09-12 21:08:39 +10:00 |
|
Sam Samai
|
c427e4e89b
|
Edit post
|
2021-09-12 19:21:01 +10:00 |
|
Sam Samai
|
f97c081c2a
|
Add new post
|
2021-09-12 17:12:20 +10:00 |
|
Sam Samai
|
2e8016d23c
|
List posts with pagination
|
2021-09-12 16:35:43 +10:00 |
|
Sam Samai
|
1ba6b0b647
|
List posts from the DB
|
2021-09-12 11:39:53 +10:00 |
|
Sam Samai
|
8f3a45e6ae
|
Use tera template and serve static assets
|
2021-09-12 10:07:00 +10:00 |
|
Sam Samai
|
1c1283ca66
|
Actix example init
|
2021-09-11 17:02:59 +10:00 |
|