Skip to content

koichirock/todo-yew-graphql

Repository files navigation

todo

Applications made by Rust

Install cargo commands

rustup component add rustfmt
ustup component add clippy
cargo install cargo-make

Format and lint

cargo make format
cargo make lint

Install nerdctl

# MacOS
brew install lima
limactl start

Run in docker

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

Save database information

DATABASE_URL='postgres://postgres:P@ssw0rd!@localhost:15432/todo' cargo sqlx prepare -- --bin todo-server

Then, access localhost:8080.

About

Todo Application built by Yew and GraphQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published