Skip to content

Commit 7d1b12a

Browse files
committed
Updated README with notes up through Module 4
1 parent d034de4 commit 7d1b12a

File tree

1 file changed

+90
-3
lines changed

1 file changed

+90
-3
lines changed

README.md

Lines changed: 90 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,107 @@ What belongs in your JavaScript Starter Kit?
4444

4545
- Atom
4646

47-
- WebStorm (author's favorite)
47+
- WebStorm **(author's favorite)**
4848

4949
- Brackets
5050

51-
- VSCode (used in the course)
51+
- VSCode **(author's choice)**
5252

5353

5454
### EditorConfig
5555

56+
Best way to align configuration in your editors
5657

58+
- Create a .editorconfig file
59+
- Many editors require a plugin
5760

5861
## Module #3: Package Management
5962

60-
## Module #4: Development Web Server
63+
### JavaScript Package Managers
64+
65+
Selected npm, pretty much the defacto standard now
66+
67+
### Security Scanning for Packages
68+
69+
- retire.js
70+
- Node Security Platform **(author's choice)**
71+
- nsp check
72+
73+
74+
## Module #4: Development Webserver
75+
76+
- http-server
77+
- Ultra-simple
78+
- Single command serves up server
79+
- live-server
80+
- Lightweight
81+
- Support live-reloading
82+
- Express **(author's choice)**
83+
- Comprehensive
84+
- Highly configurable
85+
- Not just for static files
86+
- Production grade
87+
- Run it everywhere
88+
- Goes good with node
89+
- Alternatives:
90+
- koa
91+
- hapi
92+
- budo
93+
- Integrates with Browserify
94+
- Includes hot reloading
95+
- Webpack dev server
96+
- Built in to Webpack
97+
- Serves from memory
98+
- Includes hot reloading
99+
- Browsersync
100+
- Dedicated IP for sharing work on LAN
101+
- All interactions remain in sync
102+
- Across devices, etc.
103+
- Great for cross-device testing
104+
- Literally syncs across multiple browsers in real time
105+
- Browsersync recipes available
106+
- Integrates with Webpack, Express
107+
108+
### Express Webserver
109+
110+
Created srcServer.js file to configure and run Express.
111+
112+
Used `node .\buildScripts\srcServer.js` command to leverage our script to run Express.
113+
114+
### Sharing Work-in-progress
115+
116+
Alternatives to using traditional Cloud services such as AWS and Azure.
117+
118+
- localtunnel **(author's choice)**
119+
- Easily share work on your local machine
120+
- npm install localtunnel -g
121+
- start your app
122+
- lt --port 3000 --subdomain kevin
123+
- Creates: http://kevin.localtunnel.me
124+
- ngrok
125+
- Secure tunnel to your local machine
126+
- Pretty easy to share work
127+
- Install ngrok
128+
- Install authtoken
129+
- Start your app
130+
- ./ngrok http 80
131+
- Secure
132+
- Surge
133+
- Quickly host static files to public URL
134+
- Setup
135+
- npm install -g surge
136+
- surge
137+
- Different approach
138+
- Hosting persists
139+
- now
140+
- Quickly deploy Node.js to the cloud
141+
- To use
142+
- npm install -g now
143+
- Create start script
144+
- now
145+
- Hosting persists
146+
147+
## Module #5: Automation
61148

62149

63150

0 commit comments

Comments
 (0)