| title | PostgreSQL connection | |
|---|---|---|
| description | Project showing how to connect to PostgreSQL database | |
| integrations | ||
| categories |
|
|
| tags |
|
This AutoKitteh project demonstrates how to connect to a PostgreSQL database using the psycopg2 library.
- Database Connection - Establishes a connection to PostgreSQL using environment variables.
- Query Execution - Executes a simple SELECT query on the users table.
- Result Display - Prints the query results to the console.
- Copy the webhook URL from the "Triggers" tab
- Update the database connection variables in the project variables
- Copy the webhook URL from the "Triggers" tab (see the instructions here)
- Deploy the project
Send an HTTP request to the webhook URL from step 2 in the Cloud Usage section above:
curl -i "${WEBHOOK_URL}"Follow these detailed instructions to deploy the project on a self-hosted server.