You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-6
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,12 @@ Taxonomies for products and languages: https://review.docs.microsoft.com/new-hop
28
28
29
29
Serverless Full Stack implementation on Azure of [TodoMVC](http://todomvc.com/) app with support both for REST and GraphQL endpoints via [Prisma](https://www.prisma.io/)
30
30
31
+
This sample is a variation of the Full-Stack MVC Todo sample described here: [TodoMVC Full Stack with Azure Static Web Apps, Node and Azure SQL](https://devblogs.microsoft.com/azure-sql/todomvc-full-stack-with-azure-static-web-apps-node-and-azure-sql/). The difference, of course, is the use of Prisma to have **a model-first approach and to support both the REST and GraphQL endpoints**.
32
+
33
+
This means you can use Typescript to query your database and Prisma will take care of generating and executing the correct SQL query. This way you can focus on creating amazing solution while still having all the power and the feature of Azure SQL at your service. Just like magic!
34
+
35
+

36
+
31
37
## Azure Static WebApps, Azure Functions, Node and Azure SQL
32
38
33
39
The implementation uses
@@ -41,10 +47,6 @@ The implementation uses
41
47
-[Azure SQL](https://azure.microsoft.com/en-us/services/sql-database/) as database to store ToDo data
42
48
-[GitHub Actions](https://github.com/features/actions) to Deploy the full-stack website (thanks to Azure Static Web Apps)
43
49
44
-
## Implementation Details
45
-
46
-
This sample is a variation of the Full-Stack MVC Todo sample described here: [TodoMVC Full Stack with Azure Static Web Apps, Node and Azure SQL](https://devblogs.microsoft.com/azure-sql/todomvc-full-stack-with-azure-static-web-apps-node-and-azure-sql/). The difference, of course, is the use of Prisma to have a model-first approach and to support both the REST and GraphQL endpoints.
47
-
48
50
## Folder Structure
49
51
50
52
-`/api`: the NodeJs Azure Function code used to provide the backend API, called by the Vue.Js client.
@@ -207,12 +209,12 @@ curl -s -X GET https://[your-swa-name].azurestaticapps.net/api/todo/123
0 commit comments