Full-Stack Web Development with Vue.js and Node

(singke) #1

Node.js app
creating 328
Heroku, deploying 329 , 331 , 332 , 333 , 334
Heroku, installing 329
Node.js server
tests, writing 287 , 288
tests, writing for controllers 288 , 289 , 290 , 292 ,
293
tests, writing for models 295 , 296
Node.js, benefits
event-driven programming 32
Node.js
about 32 , 33
core modules 35
custom modules 36
installing 8
installing, bash used 10
installing, from default distribution 11
installing, from NodeSource 11
installing, installer used 9 , 10
installing, on Linux 11
installing, on macOS 9
installing, on Windows 11 , 12
modules 35
non-blocking I/O 32
programming 33 , 34 , 35
single threading 32
URL 8


O

OAuth 212


P

package.json file
about 14
creating 15 , 16 , 17
functions 14 , 15
Passport's Facebook Strategy
about 213
button, adding to Facebook login page 215
configuration, adding for Facebook app 217
configuring 213
Facebook app, creating 213
Facebook app, setting up 213


installing 213
routes, adding for Facebook login 218 , 221
Passport's Google Strategy
about 232
button, adding to login page 234
configuration, adding, for Google app 236
configuring 232
Google app, creating 233 , 234
Google app, setting up 233 , 234
installing 232
routes, adding for login 237
Passport's LinkedIn Strategy
about 239
button, adding to login page 241
configuration, adding for LinkedIn app 244
configuring 239
installing 239
LinkedIn app, creating 240
LinkedIn app, setting up 240
routes, adding for login 246
Passport's Local Strategy
about 200
configuring 200
emit method, configuring 205 , 211
express-session, configuring 202 , 203
express-session, installing 202
installing 200
routes, adding for local authentication 201
Passport's Twitter Strategy
about 222
adding, for Twitter app 227
configuring 223
installing 222
routes, adding for login 228 , 231
Twitter app, creating 223
Twitter app, setting up 223
passport.js strategies
about 169
JWT strategy, used 170
passport-jwt strategy, configuring 169
passport-jwt strategy, installing 169
passport.js
about 167
configuring 168
installing 168
Free download pdf