-
Modify the
urlvar inapi/Rocket.tomlto point to your chosen database -
Turn on the appropriate database feature for your chosen db in
core/Cargo.toml(the"sqlx-postgres",line) -
Execute
cargo runto start the server -
Visit localhost:8000 in browser after seeing the
🚀 Rocket has launched from http://localhost:8000line
Run mock test on the core logic crate:
cd core
cargo test --features mock