Todo-server impl by using actix.rs
From now on, Actix is the second fastest web framework in the world.
Don't need register routes in main function always.
#[get("/hello/{name}")]
async fn greet(name: web::Path<String>) -> impl Responder {
format!("Hello {name}!")
}
docker
docker-compose
postgres (in lib/postgres)
cargo install diesel_cli --no-default-features --features "postgres"
cargo install cargo-watch
brew install httpie
# in this workspace
diesel migration run
# start server (require cargo-watch)
make start
# test server (require httpie)
make test