{"id":18664331,"url":"https://github.com/dzsquared/sqlbindings-guestbook-demo","last_synced_at":"2026-04-30T09:31:32.276Z","repository":{"id":95258151,"uuid":"564877676","full_name":"dzsquared/sqlbindings-guestbook-demo","owner":"dzsquared","description":"Sample guestbook web app built on Azure SQL Database and Azure Functions with SQL bindings and SQL trigger","archived":false,"fork":false,"pushed_at":"2022-11-21T23:35:44.000Z","size":725,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-27T17:20:27.570Z","etag":null,"topics":["azure-functions","azure-sql","sql-server"],"latest_commit_sha":null,"homepage":"https://github.com/Azure-Samples/sql-bindings-guestbook","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dzsquared.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-11T18:03:06.000Z","updated_at":"2023-02-19T20:34:56.000Z","dependencies_parsed_at":"2023-03-13T22:15:29.016Z","dependency_job_id":null,"html_url":"https://github.com/dzsquared/sqlbindings-guestbook-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dzsquared%2Fsqlbindings-guestbook-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dzsquared%2Fsqlbindings-guestbook-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dzsquared%2Fsqlbindings-guestbook-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dzsquared%2Fsqlbindings-guestbook-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dzsquared","download_url":"https://codeload.github.com/dzsquared/sqlbindings-guestbook-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239491352,"owners_count":19647811,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure-functions","azure-sql","sql-server"],"created_at":"2024-11-07T08:23:06.954Z","updated_at":"2026-04-30T09:31:27.255Z","avatar_url":"https://github.com/dzsquared.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQL bindings guestbook demo\n\nA sample application where users can leave a message and view recent messages.  After entry, messages are send to content moderation.\n\n## Components\n- Azure SQL Database\n- .NET Azure Functions\n  - SQL trigger\n  - SQL output binding\n- JavaScript Azure Functions\n  - SQL output binding\n  - SQL input binding\n- Azure Static Web App\n \n\n## What are SQL bindings?\n\n![summary slide on SQL bindings](images/sqlbindings-summary.png)\n\nLearn more at [https://aka.ms/sqlbindings](https://aka.ms/sqlbindings).\n\n- Azure Functions can authenticate to Azure SQL Database with Azure AD Managed Identity\n- Configure SQL bindings with a connection string and T-SQL query, stored procedure name, or table name\n- SQL bindings are currently in preview for .NET, JavaScript, Python, PowerShell, and Java Azure Functions\n- SQL trigger is currently in preview for .NET Azure Functions\n \n## Architecture\n\n![architecture diagram](images/architecture.png)\n\n- [JavaScript Azure Functions](apis/js-api/)\n  - lists some entries from the app.Entry table (SQL input binding)\n  - add guestbook entry for to app.Entry table (SQL output binding)\n- [Azure Static Web App](guestbook/)\n  - input form for adding guestbook entries\n  - list of guestbook entries\n  - calls to the JavaScript Azure Functions\n- [.NET Azure Function](apis/net-api/)\n  - SQL trigger on changes in app.Entry table\n  - sends newly inserted rows to Azure Content Moderation\n  - SQL output binding writes moderation results to app.Moderation table\n  - SQL output binding updates to app.Entry table\n- [PowerShell Azure Function](apis/powershell-api/)\n  - timer trigger runs the PowerShell functoion on a schedule\n  - SQL input binding runs a stored procedure checking the health of change tracking","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdzsquared%2Fsqlbindings-guestbook-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdzsquared%2Fsqlbindings-guestbook-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdzsquared%2Fsqlbindings-guestbook-demo/lists"}