SlideShare a Scribd company logo
INTRO TO
NODE
Jamal O’Garro
Code Crew
Software Engineer + Instructor
CODE CREW | INTRO TO NODE.JS
CLASS ROADMAP
• Node Basics
• Web Servers
• Express.js
• MongoDB
• Mongoose
• Build a Simple App
• Look at a Larger App
CODE CREW | INTRO TO NODE.JS
EXPECTATIONS
CODE CREW | INTRO TO NODE.JS
• Familiar with JavaScript
• Familiar with the concept of databases
• Basic web development principles
TRADITIONAL WEB DEVELOPMENT
CODE CREW | INTRO TO NODE.JS
MODERN DAY WEB DEVELOPMENT
CODE CREW | INTRO TO NODE.JS
JAVASCRIPT REVIEW
• Created by Netscape
• Runs in browser & server
• Is actually named
ECMAScript
CODE CREW | INTRO TO NODE.JS
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
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
ASYNCHRONOUS PROGRAMMING
CODE CREW | INTRO TO NODE.JS
EVENT LOOP
CODE CREW | INTRO TO NODE.JS
HELLO NODE!
CODE CREW | INTRO TO NODE.JS
NPM
CODE CREW | INTRO TO NODE.JS
CONNECT
CODE CREW | INTRO TO NODE.JS
• Middleware framework for Node
• Used for building web servers
• Abstracts a lot of HTTP for you
NODE FRAMEWORKS
CODE CREW | INTRO TO NODE.JS
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
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
MVC ARCHITECTURE
DATABASE
BROWSER CONTROLLER
VIEW MODEL
CODE CREW | INTRO TO NODE.JS
ROUTER
CODE CREW | INTRO TO NODE.JS
REST
CODE CREW | INTRO TO NODE.JS
CRUD
• Create
• Read
• Update
• Destroy
CODE CREW | INTRO TO NODE.JS
MONGODB
CODE CREW | INTRO TO NODE.JS
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
LET’S BUILD OUR APP!
CODE CREW | INTRO TO NODE.JS
MEAN STACK
CODE CREW | INTRO TO NODE.JS
LET’S LOOK A MORE COMPLEX APP!
CODE CREW | INTRO TO NODE.JS
THANKS MUCH!!!
Jamal O’Garro
Code Crew
Software Engineer + Instructor
CODE CREW | INTRO TO NODE.JS

More Related Content

What's hot (20)

PPT
The MEAN Stack: MongoDB, ExpressJS, AngularJS and Node.js
MongoDB
 
PDF
The MEAN Stack
Md. Ziaul Haq
 
PPT
Beyond the MEAN Stack: Thinking Small with Node.js for the Enterprise
Forrest Norvell
 
PDF
Serverless NodeJS With AWS Lambda
Riza Fahmi
 
PDF
When Will Drupal Die? (Keynote talk)
chrisshattuck
 
PDF
Node.js for beginner
Sarunyhot Suwannachoti
 
PPTX
JS digest. Mid-Summer 2017
ElifTech
 
PDF
JS digest. May 2017
ElifTech
 
PDF
React Webinar With CodePolitan
Riza Fahmi
 
PDF
Node.js for .NET Developers
David Neal
 
PPTX
JS digest, March 2017
ElifTech
 
PDF
Brief Intro to Phoenix - Elixir Meetup at BukaLapak
Riza Fahmi
 
PPT
Nodejs - Building a RESTful API
Sang Cù
 
PDF
MEAN Stack - Google Developers Live 10/03/2013
Valeri Karpov
 
PDF
Mean Stack - An Overview
Naveen Pete
 
PDF
Build App with Nodejs - YWC Workshop
Sarunyhot Suwannachoti
 
PPTX
JS digest. July 2017
ElifTech
 
PDF
Node.js with Express
Gergely Németh
 
PDF
Horizontally Scaling Node.js and WebSockets
James Simpson
 
The MEAN Stack: MongoDB, ExpressJS, AngularJS and Node.js
MongoDB
 
The MEAN Stack
Md. Ziaul Haq
 
Beyond the MEAN Stack: Thinking Small with Node.js for the Enterprise
Forrest Norvell
 
Serverless NodeJS With AWS Lambda
Riza Fahmi
 
When Will Drupal Die? (Keynote talk)
chrisshattuck
 
Node.js for beginner
Sarunyhot Suwannachoti
 
JS digest. Mid-Summer 2017
ElifTech
 
JS digest. May 2017
ElifTech
 
React Webinar With CodePolitan
Riza Fahmi
 
Node.js for .NET Developers
David Neal
 
JS digest, March 2017
ElifTech
 
Brief Intro to Phoenix - Elixir Meetup at BukaLapak
Riza Fahmi
 
Nodejs - Building a RESTful API
Sang Cù
 
MEAN Stack - Google Developers Live 10/03/2013
Valeri Karpov
 
Mean Stack - An Overview
Naveen Pete
 
Build App with Nodejs - YWC Workshop
Sarunyhot Suwannachoti
 
JS digest. July 2017
ElifTech
 
Node.js with Express
Gergely Németh
 
Horizontally Scaling Node.js and WebSockets
James Simpson
 

Similar to Intro to Node.js (20)

PDF
Introduction to Node.js: What, why and how?
Christian Joudrey
 
PDF
An introduction to Node.js
Kasey McCurdy
 
PPTX
Introduction to node.js
Md. Sohel Rana
 
PPTX
Nodejs
Vinod Kumar Marupu
 
PPTX
Introduction to Node.js
Winston Hsieh
 
PPTX
Kalp Corporate Node JS Perfect Guide
Kalp Corporate
 
PDF
Introduction to Node.js
Jack Franklin
 
PPTX
Node js installation steps.pptx slide share ppts
HemaSenthil5
 
PPTX
Introducing Node.js in an Oracle technology environment (including hands-on)
Lucas Jellema
 
PPTX
NodeJS guide for beginners
Enoch Joshua
 
PPTX
Introduction to node.js GDD
Sudar Muthu
 
PPTX
Node js Introduction
sanskriti agarwal
 
KEY
Node.js - The New, New Hotness
Daniel Shaw
 
PDF
540slidesofnodejsbackendhopeitworkforu.pdf
hamzadamani7
 
PPTX
NodeJS
Alok Guha
 
PPTX
module for backend full stack applications 1.pptx
hemalathas752360
 
PDF
MongoDB, Node.js And You: PART II
Mitch Pirtle
 
PPTX
Nodejs
dssprakash
 
PPTX
After the LAMP, it's time to get MEAN
Jeff Fox
 
PPTX
Introduction to Node.js
Vikash Singh
 
Introduction to Node.js: What, why and how?
Christian Joudrey
 
An introduction to Node.js
Kasey McCurdy
 
Introduction to node.js
Md. Sohel Rana
 
Introduction to Node.js
Winston Hsieh
 
Kalp Corporate Node JS Perfect Guide
Kalp Corporate
 
Introduction to Node.js
Jack Franklin
 
Node js installation steps.pptx slide share ppts
HemaSenthil5
 
Introducing Node.js in an Oracle technology environment (including hands-on)
Lucas Jellema
 
NodeJS guide for beginners
Enoch Joshua
 
Introduction to node.js GDD
Sudar Muthu
 
Node js Introduction
sanskriti agarwal
 
Node.js - The New, New Hotness
Daniel Shaw
 
540slidesofnodejsbackendhopeitworkforu.pdf
hamzadamani7
 
NodeJS
Alok Guha
 
module for backend full stack applications 1.pptx
hemalathas752360
 
MongoDB, Node.js And You: PART II
Mitch Pirtle
 
Nodejs
dssprakash
 
After the LAMP, it's time to get MEAN
Jeff Fox
 
Introduction to Node.js
Vikash Singh
 
Ad

More from Jamal Sinclair O'Garro (15)

PDF
A Look at TensorFlow.js
Jamal Sinclair O'Garro
 
PDF
Intro to React
Jamal Sinclair O'Garro
 
PDF
React + Redux for Web Developers
Jamal Sinclair O'Garro
 
PDF
Intro to ionic 2
Jamal Sinclair O'Garro
 
PDF
Intro to ES6 / ES2015
Jamal Sinclair O'Garro
 
PDF
The Ten Code Commandments
Jamal Sinclair O'Garro
 
PDF
Using TypeScript with Angular
Jamal Sinclair O'Garro
 
PDF
Intro to UI-Router/TypeScript
Jamal Sinclair O'Garro
 
PDF
Intro to iOS Development
Jamal Sinclair O'Garro
 
PDF
Introduction to AngularJS
Jamal Sinclair O'Garro
 
PDF
Intro to rails 2_kg_edited
Jamal Sinclair O'Garro
 
PDF
Intro to Ruby on Rails
Jamal Sinclair O'Garro
 
PDF
Intro to javascript (4 week)
Jamal Sinclair O'Garro
 
PDF
Intro to HTML + CSS
Jamal Sinclair O'Garro
 
PDF
Intro to Programming
Jamal Sinclair O'Garro
 
A Look at TensorFlow.js
Jamal Sinclair O'Garro
 
Intro to React
Jamal Sinclair O'Garro
 
React + Redux for Web Developers
Jamal Sinclair O'Garro
 
Intro to ionic 2
Jamal Sinclair O'Garro
 
Intro to ES6 / ES2015
Jamal Sinclair O'Garro
 
The Ten Code Commandments
Jamal Sinclair O'Garro
 
Using TypeScript with Angular
Jamal Sinclair O'Garro
 
Intro to UI-Router/TypeScript
Jamal Sinclair O'Garro
 
Intro to iOS Development
Jamal Sinclair O'Garro
 
Introduction to AngularJS
Jamal Sinclair O'Garro
 
Intro to rails 2_kg_edited
Jamal Sinclair O'Garro
 
Intro to Ruby on Rails
Jamal Sinclair O'Garro
 
Intro to javascript (4 week)
Jamal Sinclair O'Garro
 
Intro to HTML + CSS
Jamal Sinclair O'Garro
 
Intro to Programming
Jamal Sinclair O'Garro
 
Ad

Recently uploaded (20)

PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PPTX
Digital Circuits, important subject in CS
contactparinay1
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PDF
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PPTX
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
Digital Circuits, important subject in CS
contactparinay1
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
UiPath DevConnect 2025: Agentic Automation Community User Group Meeting
DianaGray10
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
Mastering ODC + Okta Configuration - Chennai OSUG
HathiMaryA
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 

Intro to Node.js