tipi-lang/examples/web/README.md
2026-01-15 19:33:16 +01:00

453 B

  • Example with postgres running
  • run cargo run -- --source examples/web --watch --postgres <connect_string>
  • the connect_string is directly passed to bb8 like here
  • 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