Node JS
Node JS
Introduction
o Introduction to closures
o How to use closures
o How to use callbacks
NodeJS : Introduction
Foundation
Node Projects
Generating package.json
Uploading project
o OS Module
o HTTP Module
Events Module
Events Object
Event Emitter Class
Creating own Event Emitter • Emitting events
Associating event handlers • Events subscription
Events unsubscription
Process Events
Scheduling
Require Function
Export Modules
Modules Best Practices
Reading and writing to files
Async & Syncfunctions
Folder Module
External Modules
Express
Creating collections
Using Socket.IO
Debugging
Console Object
Debugger Statement
Node’s Built-in debugger
Unit Testing
TDD/BDD
Using Jasmine and Karma
Installing Node.js
Installing Yeoman
Installing Express generator
Building the baseline
Adding changes to the package.json file
Running the application
Changing the application's structure
Changing the default behavior to start the application
Restructuring the views folder using partials
Adding templates for login, sign-up, and profile
Installing additional middleware
Refactoring the app.js file with the new middleware
Adding config and passport files
Creating a models folder and adding a user schema
Protecting routes
Creating the controllers folder
Running the application and adding comments
Checking the error messages