Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 396 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 396 Bytes

axum-graphql

docker compose

$ docker compose up -d

migrate

$ cargo install sea-orm-cli
$ sea-orm-cli migrate up

generate entities

$ sea-orm-cli generate entity -u mysql://user:password@localhost:3306/db -o src/entities

run

$ cargo run

run watch

install cargo-watch

$ cargo install cargo-watch

run

$ cargo watch -x run