From 859556dc1ff8b5ac475cf94f74b2bc55c147feba Mon Sep 17 00:00:00 2001 From: Zoheb Alli Khan Date: Thu, 3 Jun 2021 12:04:27 +0530 Subject: [PATCH] App Properties --- backend/express.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/backend/express.js b/backend/express.js index f3e1c8c..935eb1f 100644 --- a/backend/express.js +++ b/backend/express.js @@ -11,7 +11,7 @@ const app = express(); // Intializing the imported express application * http://expressjs.com/en/api.html#express.json * ******************************************************************************************* */ -Methods; +```Methods```; express.json([options]); @@ -97,3 +97,10 @@ type // This is used to determine the type of middleware will verify // It is an undefined function which used to verify the middleware parsing. `; + +```Application`````; +Properties```app.local`; + +`app.locals.title = "My Cheatsheet"; +console.dir(app.locals.title)`; +app.mountpath`;``app.mountpath``const admin = express()`;