* added example for axum + graphql * clean up * removed macos file * Pr/587 (#1) * Migrate on startup * Update CI * Add .gitignore * Add README Co-authored-by: Billy Chan <ccw.billy.123@gmail.com> Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
424 B
424 B
Axum-GraphQL with SeaORM example app
-
Modify the
DATABASE_URL
var in.env
to point to your chosen database -
Turn on the appropriate database feature for your chosen db in
entity/Cargo.toml
(the"sqlx-sqlite",
line) -
Execute
cargo run
to start the server -
Visit localhost:3000/api/graphql in browser