File tree Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change 1
1
## Synopsis
2
2
3
- This project contains code examples to run Node.js examples.
3
+ This repository contains Node.js examples.
4
4
5
5
## Example
6
6
@@ -15,11 +15,10 @@ Load `http://localhost:8080/test.html`
15
15
16
16
in browser.
17
17
18
-
19
-
20
18
## Motivation
21
19
22
- Try out various Node.js examples to gain an understanding of the server program and its applications.
20
+ Try out various Node.js examples to gain an understanding of the server and its applications.
21
+ Most of the source is from Node.js Design Patterns by Mario Casciaro.
23
22
24
23
## Installation
25
24
@@ -28,26 +27,22 @@ For instructions how to install node on your machine,refer to https://code.tutsp
28
27
Use ` git clone ` to download the code to your machine.
29
28
30
29
Run:
31
- ` npm install express --save `
32
-
33
- ` npm install nedb `
34
30
35
- to use express and nedb in your goalsserver Node.js application in the goalsserver directory.
36
-
37
- update your .bash_profile with the following:
38
-
39
- ` export NODE_PATH=your/path/to/node_modules:%NODE_PATH `
31
+ Every project has its package.json and package-lock.json files.
32
+ Install dependencies using ` npm install ` from the project directory.
40
33
41
34
## API Reference
42
35
43
36
## Tests
44
37
45
38
No unit tests.
46
39
40
+ The root directory contains a script ` runjshint ` that lints the source using file ` .jshintrc ` specifying the rules.
41
+
47
42
## Contributors
48
43
49
44
Obviously the author(s) and myself for any code enhancements.
50
45
51
46
## License
52
47
53
- MIT License.
48
+ ISC License.
You can’t perform that action at this time.
0 commit comments