This example demonstrates how to use PostgreSQL channels to create a very simple chat application.
-
Declare the database URL
export DATABASE_URL="postgres://postgres:password@localhost/files"
Run the project
cargo run -p sqlx-examples-postgres-chat