# sea-orm-axum-example **Repository Path**: flysolos/sea-orm-axum-example ## Basic Information - **Project Name**: sea-orm-axum-example - **Description**: axum 和sea-orm的全栈项目 - **Primary Language**: Rust - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 0 - **Created**: 2022-09-05 - **Last Updated**: 2022-10-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Axum with SeaORM example app 1. Modify the `DATABASE_URL` var in `.env` to point to your chosen database 1. Turn on the appropriate database feature for your chosen db in `core/Cargo.toml` (the `"sqlx-postgres",` line) 1. Execute `cargo run` to start the server 1. Visit [localhost:8000](http://localhost:8000) in browser Run mock test on the core logic crate: ```bash cd core cargo test --features mock ``` 项目即将修改博客