tipi-lang/examples/web
2026-01-15 19:33:16 +01:00
..
api/customer calling functions in other source files 2026-01-09 20:42:33 +01:00
main.tp added main.tp entrypoint 2026-01-13 21:29:45 +01:00
README.md made db connect configurable 2026-01-15 19:33:16 +01:00

  • 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