From f73d1d1bd0fc5b456ce67e46c04a28388b3d912f Mon Sep 17 00:00:00 2001 From: Jovan Popovic Date: Wed, 22 Jun 2016 15:29:48 +0200 Subject: [PATCH] Revert "Formatting of nodejs readme.md" This reverts commit 92b619fd9b1f334aa5f350633d9c93943f978078. --- .../nodejs-express4-rest-api/README.md | 21 +++++-------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/samples/features/json/todo-app/nodejs-express4-rest-api/README.md b/samples/features/json/todo-app/nodejs-express4-rest-api/README.md index 48d4a854..46de88c1 100644 --- a/samples/features/json/todo-app/nodejs-express4-rest-api/README.md +++ b/samples/features/json/todo-app/nodejs-express4-rest-api/README.md @@ -45,22 +45,11 @@ To run this sample, you need the following prerequisites. 3. From Visual Studio, open the **TodoApp.xproj** file from the root directory, -4. Locate db.js file in the project, change database connection info in createConnection() method to reference your database. - -``` - var config = { - server : "SERVER.database.windows.net", - userName: "USER", - password: "PASSWORD", - // If you're on Azure, you will need this: - options: { encrypt: true, database: 'DATABASE' } - }; -``` -The following tokens should be replaced: - 1. SERVERNAME - name of the database server. - 2. DATABASE - Name of database where Todo table is stored. - 3. USERNAME - SQL Server login that can access table data and execute stored procedures. - 4. PASSWORD - Password associated to SQL Server login. +4. Locate db.js file in the project, change database connection info in createConnection() method to reference your database. the following tokens should be replaced: +4.1. SERVERNAME - name of the database server. +4.2. DATABASE - Name of database where Todo table is stored. +4.3. USERNAME - SQL Server login that can access table data and execute stored procedures. +4.4. PASSWORD - Password associated to SQL Server login. 5. Build project using Ctrl+Shift+B, right-click on project + Build, or Build/Build Solution from menu.