+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.vs/ProjectSettings.json b/.vs/ProjectSettings.json
new file mode 100644
index 0000000..f8b4888
--- /dev/null
+++ b/.vs/ProjectSettings.json
@@ -0,0 +1,3 @@
+{
+ "CurrentProjectSetting": null
+}
\ No newline at end of file
diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json
new file mode 100644
index 0000000..6b61141
--- /dev/null
+++ b/.vs/VSWorkspaceState.json
@@ -0,0 +1,6 @@
+{
+ "ExpandedNodes": [
+ ""
+ ],
+ "PreviewInSolutionExplorer": false
+}
\ No newline at end of file
diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite
new file mode 100644
index 0000000..b8ed48e
Binary files /dev/null and b/.vs/slnx.sqlite differ
diff --git a/.vs/w1-node-ecosystem/v16/.suo b/.vs/w1-node-ecosystem/v16/.suo
new file mode 100644
index 0000000..1e902ae
Binary files /dev/null and b/.vs/w1-node-ecosystem/v16/.suo differ
diff --git a/index.js b/index.js
new file mode 100644
index 0000000..791db90
--- /dev/null
+++ b/index.js
@@ -0,0 +1,12 @@
+
+const profile = require('./src/profile.js');
+
+console.log(profile.name + " " + profile.age);
+
+console.log("hello node");
+
+const path = require('path');
+const moment=require('moment');
+
+console.log(path.resolve());
+console.log(moment().format('DD MMM YYYY'));
\ No newline at end of file
diff --git a/package-lock.json b/package-lock.json
new file mode 100644
index 0000000..f2886cb
--- /dev/null
+++ b/package-lock.json
@@ -0,0 +1,13 @@
+{
+ "name": "w1-node-ecosystem",
+ "version": "1.0.0",
+ "lockfileVersion": 1,
+ "requires": true,
+ "dependencies": {
+ "moment": {
+ "version": "2.24.0",
+ "resolved": "https://registry.npmjs.org/moment/-/moment-2.24.0.tgz",
+ "integrity": "sha512-bV7f+6l2QigeBBZSM/6yTNq4P2fNpSWj/0e7jQcy87A8e7o2nAfP/34/2ky5Vw4B9S446EtIhodAzkFCcR4dQg=="
+ }
+ }
+}
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..d1b63c9
--- /dev/null
+++ b/package.json
@@ -0,0 +1,24 @@
+{
+ "name": "w1-node-ecosystem",
+ "version": "1.0.0",
+ "description": "Welcome to JSCRIPT 400 - Server Side Development with JavaScript",
+ "main": "index.js",
+ "scripts": {
+ "test": "echo \"Error: no test specified\" && exit 1",
+ "start": "node \"index.js\""
+ },
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/hopkinss/w1-node-ecosystem.git"
+ },
+ "keywords": [],
+ "author": "",
+ "license": "ISC",
+ "bugs": {
+ "url": "https://github.com/hopkinss/w1-node-ecosystem/issues"
+ },
+ "homepage": "https://github.com/hopkinss/w1-node-ecosystem#readme",
+ "dependencies": {
+ "moment": "^2.24.0"
+ }
+}
diff --git a/readme.md b/readme.md
index ccca3f4..eef7be9 100644
--- a/readme.md
+++ b/readme.md
@@ -38,7 +38,7 @@ $ npm -v
* **Question:** What is the difference between forking and cloning a repository as opposed to just cloning a repository?
-* **Your Answer:**
+* **Your Answer:** fork copies the project to your remote, clone copies locally
---
@@ -46,7 +46,7 @@ $ npm -v
* **Question:** What does `npm init` do? How does the `-y` flag modify that command?
-* **Your Answer:**
+* **Your Answer:** generate package.json with defaults
---
@@ -54,7 +54,7 @@ $ npm -v
* **Question:** What is the purpose of the following keys? "name", "scripts", "license"
-* **Your Answer:**
+* **Your Answer:** name: name of the package;scripts: identifies how to run; license:open source license
---
@@ -62,7 +62,7 @@ $ npm -v
* **Question:** What is the purpose of the `.gitignore` file? What is the significance of a "dot-file?"
-* **Your Answer:**
+* **Your Answer:** identifies patterns to ignore from vcs. . files are hidden
---
@@ -70,7 +70,7 @@ $ npm -v
* **Question:** From the command line, how can you run this file?
-* **Your Answer:**
+* **Your Answer:** node index.js
---
@@ -78,7 +78,7 @@ $ npm -v
* **Question:** What happens and how is this related to what is in the `package.json` file?
-* **Your Answer:**
+* **Your Answer:** error message from the script value in packaage.json
---
@@ -86,7 +86,7 @@ $ npm -v
* **Question:** What will you enter on the command line to run that script?
-* **Your Answer:**
+* **Your Answer:** console.log('hello node')
---
@@ -94,7 +94,7 @@ $ npm -v
* **Question:** The same pattern will not work to try and run this script. How can you successfully get this script to run?
-* **Your Answer:**
+* **Your Answer:** npm run my-file
---
@@ -109,13 +109,18 @@ $ npm -v
console.log(profile)
```
-* **Question:** What gets logged? Why?
+* **Question:** What gets logged? Why?
+
+ #. 'shawn'
+ #. 'hello node'
* **Your Answer:**
* **Question:** What is `module.exports` and what is its _type_ in JavaScript? What is `require` and what is its _type_ in JavaScript?
-* **Your Answer:**
+* **Your Answer:**
+ * function
+ *
---
@@ -123,7 +128,7 @@ $ npm -v
* **Question:** What are some ways you can solve this problem?
-* **Your Answer:**
+* **Your Answer:** package in an object
---
@@ -135,7 +140,7 @@ $ npm -v
* **Question:** What is `path` and where does it come from?
-* **Your Answer:**
+* **Your Answer:** node object with functionality to access properties about the project location
---
@@ -143,7 +148,7 @@ $ npm -v
* **Question:** What command can you run to install this package?
-* **Your Answer:**
+* **Your Answer:** npm install moment
---
@@ -151,7 +156,7 @@ $ npm -v
* **Question:** Do you need to use a `./` to require the package? Why or why not?
-* **Your Answer:**
+* **Your Answer:** no, it's a node module not a file
---
diff --git a/src/profile.js b/src/profile.js
new file mode 100644
index 0000000..6be2d6f
--- /dev/null
+++ b/src/profile.js
@@ -0,0 +1,5 @@
+
+
+module.exports = {'name': 'shawn','age': 47};
+
+