-
Modify the
urlvar inapi/Rocket.tomlto point to your chosen database -
Turn on the appropriate database feature for your chosen db in
api/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 tests:
cd api
cargo test