sea-orm/examples/actix4_example
Chris Tsang 82bad4a376 0.5.0
2022-01-01 16:05:36 +08:00
..
2021-12-24 23:59:37 +08:00
2021-10-01 11:14:59 +08:00
2021-10-01 11:14:59 +08:00
2021-10-01 11:14:59 +08:00
2022-01-01 16:05:36 +08:00
2021-10-02 14:20:49 +08:00

Actix 4 Beta with SeaORM example app

Edit Cargo.toml to use sqlx-mysql or sqlx-postgres.

[features]
default = ["sqlx-$DATABASE"]

Edit .env to point to your database.

Run server with auto-reloading:

cargo install systemfd
systemfd --no-pid -s http::8000 -- cargo watch -x run