From 079dc90d54c907c943cc11a6e279a3bacac1c039 Mon Sep 17 00:00:00 2001
From: Andrej Rasevic <andrej@rasevicengineering.com>
Date: Fri, 11 Jan 2019 14:00:29 -0500
Subject: [PATCH] adding express starter code

---
 cmsc388b/code_examples/express/install.md | 25 +++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 cmsc388b/code_examples/express/install.md

diff --git a/cmsc388b/code_examples/express/install.md b/cmsc388b/code_examples/express/install.md
new file mode 100644
index 0000000..b027cf8
--- /dev/null
+++ b/cmsc388b/code_examples/express/install.md
@@ -0,0 +1,25 @@
+# Steps to set-up express application locally
+
+```npm install express-generator -g```
+
+run `express --help`
+
+run `express first-express-app --view=pug`
+
+naviagte to our app `cd first-express-app`
+
+and then run `npm install`
+
+for windows run `SET DEBUG=express-locallibrary-tutorial:* & npm start`
+
+for mac/linux run `DEBUG=express-locallibrary-tutorial:* npm start`
+
+As an example let's run it without the debug statements and see the difference.
+
+next execute `npm install --save-dev nodemon`
+
+
+
+
+
+
-- 
GitLab