6. JAVASCRIPT REVIEW
• Created by Netscape
• Runs in browser & server
• Is actually named
ECMAScript
CODE CREW | INTRO TO NODE.JS
7. NODE.JS BASICS
CODE CREW | INTRO TO NODE.JS
• Server-side JavaScript
• Built on top of V8
• Created by Ryan Dahl
• Open Source
• Asynchronous
• Single-threaded
8. WHAT IS NODE GOOD FOR?
CODE CREW | INTRO TO NODE.JS
• Highly concurrent environments
• Real-time apps (i.e. chat rooms)
• Building CRUD applications
• Teams that want to make their front-end engineers full
stack as fast a possible
15. EXPRESS
CODE CREW | INTRO TO NODE.JS
• Lightweight web framework
• Inspired by Sinatra
• Flexible and doesn’t force conventions
• Fully asynchronous
• Loads application in memory and listens for requests
16. WHY USE EXPRESS?
CODE CREW | INTRO TO NODE.JS
• Inspired by Sinatra
• Flexible framework that doesn’t force conventions
• Fully asynchronous
• Easy to learn
• Easily extendable
22. MONGOOSE
CODE CREW | INTRO TO NODE.JS
• Object Document Mapper
• Allows us to create models to organize our data
• Provides a schema for your MongoDB database
• Also provides validations
• Simulate joins
• Convenience methods for querying data from MongoDB