- get a version of postgres up and running.
- update the connection string in ./src/config.rs (alternatively you could just set the ENV Variable )
- make sure the DB in the connection string exists
CREATE DATABASE BLA;
- migrate the database to create the orders table and mock data
cargo run --bin migrate
- boot the server
cargo run --bin server
- You can use curl to see the server in action
curl http://localhost:5000/orders