Applications made by Rust
rustup component add rustfmt
ustup component add clippy
cargo install cargo-make
cargo make format
cargo make lint
# MacOS
brew install lima
limactl start
lima nerdctl compose up -d
cd server
cargo install sqlx-cli --no-default-features --features native-tls,postgres
DATABASE_URL='postgres://postgres:P@ssw0rd!@localhost:15432/todo' sqlx migrate run
DATABASE_URL='postgres://postgres:P@ssw0rd!@localhost:15432/todo' cargo sqlx prepare -- --bin todo-server
Then, access localhost:8080
.