Skip to content

Commit

Permalink
added db connections
Browse files Browse the repository at this point in the history
  • Loading branch information
Khumee committed Oct 24, 2024
1 parent f8bb748 commit 56fb65c
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions swa-db-connections/staticwebapp.database.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"$schema": "https://github.com/Azure/data-api-builder/releases/download/v1.1.7/dab.draft.schema.json",
"data-source": {
"database-type": "mssql",
"connection-string": "",
"options": {
"set-session-context": false
}
},
"runtime": {
"rest": {
"enabled": true,
"path": "/rest",
"request-body-strict": true
},
"graphql": {
"enabled": true,
"path": "/graphql",
"allow-introspection": true
},
"host": {
"cors": {
"origins": [],
"allow-credentials": false
},
"authentication": {
"provider": "StaticWebApps"
},
"mode": "production"
}
},
"entities": {
"SalesOrderDetail": {
"source": "dbo.SalesOrderDetail",
"permissions": {
"anonymous": "*"
}
}
}
}

0 comments on commit 56fb65c

Please sign in to comment.