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
@@ -31,7 +31,6 @@ To run this sample, you need the following prerequisites.
31
31
1. SQL Server 2016 (or higher) or an Azure SQL Database
32
32
2. Node.js runtime.
33
33
34
-
35
34
**Azure prerequisites:**
36
35
37
36
1. Permission to create an Azure SQL Database
@@ -40,26 +39,30 @@ To run this sample, you need the following prerequisites.
40
39
41
40
## Run this sample
42
41
43
-
1. Navigate to the folder where you have downloaded sample and run **npm install** in command window.
42
+
1. Navigate to the folder where you have downloaded sample and run **npm update** in the command window.
44
43
45
44
2. From SQL Server Management Studio or SQL Server Data Tools connect to your SQL Server 2016 or Azure SQL database and
46
-
execute setup.sql script that will create and populate Todo table in the database.
47
-
48
-
3. Locate db.js file in the project, change database connection info in createConnection() method to reference your database. the following tokens should be replaced:
49
-
1. SERVERNAME - name of the database server.
50
-
2. DATABASE - Name of database where Todo table is stored.
51
-
3. USERNAME - SQL Server login that can access table data and execute stored procedures.
52
-
4. PASSWORD - Password associated to SQL Server login.
45
+
execute setup.sql script that will create and populate Todo table in the database and create necessary stored procedures.
53
46
47
+
3. Locate config folder in the project and setup connection info in default.json file. The content of the file should look like:
0 commit comments