6 lines
No EOL
453 B
Markdown
6 lines
No EOL
453 B
Markdown
* Example with postgres running
|
|
* run ```cargo run -- --source examples/web --watch --postgres <connect_string>```
|
|
* the connect_string is directly passed to bb8 like [here](https://github.com/djc/bb8/blob/main/postgres/examples/static_select.rs)
|
|
* see ```main.tp``` for the database queries that it does on startup
|
|
* and head to http://localhost:3000/api/customer
|
|
* optionally, adjust the database ddl, update the query in db.tp, and recheck the output |