Node.js and Express.js - Full Course

freeCodeCamp.org April 1, 2021
Video Thumbnail
freeCodeCamp.org Logo

freeCodeCamp.org

View Channel

About

Learn math, programming, and computer science for free. A 501(c)(3) tax-exempt charity. We also run a free learning interactive platform at freecodecamp.org

Video Description

Learn how to use Node and Express in this comprehensive course. First, you will learn the fundamentals of Node and Express. Then, you will learn to build a complex Rest API. Finally, you will build a MERN app and other Node projects. ✏️ Course developed by John Smilga. Check out his channel: https://www.youtube.com/channel/UCMZFwxv5l-XtKi693qMJptA 💻 Code: https://github.com/john-smilga/node-express-course ❤️ Try interactive JavaScript courses we love, right in your browser: https://scrimba.com/freeCodeCamp-JavaScript (Made possible by a grant from our friends at Scrimba) ⭐️ Course Contents ⭐️ ⌨️ (00:00​) Introduction ⌨️ (01:41​) What Is Node ⌨️ (02:56​) Course Requirements ⌨️ (04:16​) Course Structure ⌨️ (04:59​) Browser Vs Server ⌨️ (07:50​) Install Node ⌨️ (11:08​) Repl ⌨️ (13:27​) Cli ⌨️ (19:07​) Source Code ⌨️ (20:27​) Globals ⌨️ (29:34​) Modules Setup ⌨️ (32:46​) First Module ⌨️ (45:32​) Alternative Syntax ⌨️ (49:50​) Mind Grenade ⌨️ (53:47​) Built-In Module Intro ⌨️ (56:31​) Os Module ⌨️ (1:04:13​) Path Module ⌨️ (1:10:06​) Fs Module (Sync) ⌨️ (1:18:28​) Fs Module (Async) ⌨️ (1:27:32​) Sync Vs Async ⌨️ (1:34:29​) Http Intro ⌨️ (1:35:58​) Http Module (Setup) ⌨️ (1:40:53​) Http Module (More Features) ⌨️ (1:45:57​) NPM Info ⌨️ (1:50:19​) NPM Command ⌨️ (1:53:10​) First Package ⌨️ (2:02:52​) Share Code ⌨️ (2:09:04​) Nodemon ⌨️ (2:15:04​) Uninstall ⌨️ (2:17:53​) Global Install ⌨️ (2:23:22​) Package-Lock.Json ⌨️ (2:25:56​) Important Topics Intro ⌨️ (2:27:38​) Event Loop ⌨️ (2:30:47​) Event Loop Slides ⌨️ (2:37:46​) Event Loop Code Examples ⌨️ (2:47:07​) Async Patterns - Blocking Code ⌨️ (2:54:49​) Async Patterns - Setup Promises ⌨️ (3:00:35​) Async Patterns - Refactor To Async ⌨️ (3:06:05​) Async Patterns - Node's Native Option ⌨️ (3:12:41​) Events Info ⌨️ (3:14:44​) Events Emitter - Code Example ⌨️ (3:18:37​) Events Emitter - Additional Info ⌨️ (3:21:44​) Events Emitter - Http Module Example ⌨️ (3:25:10​) Streams Intro ⌨️ (3:26:18​) Streams - Read File ⌨️ (3:33:01​) Streams - Additional Info ⌨️ (3:35:05​) Streams - Http Example ⌨️ (3:40:29​) End Of Node Tutorial Module ⌨️ (3:40:46​) HTTP Request/Response Cycle ⌨️ (3:44:49​) Http Messages ⌨️ (3:55:52​) Starter Project Install ⌨️ (3:57:59​) Starter Overview ⌨️ (4:03:25​) Http Basics ⌨️ (4:15:09​) Http - Headers ⌨️ (4:24:50​) Http - Request Object ⌨️ (4:32:00​) Http - Html File ⌨️ (4:37:20​) Http - App Example ⌨️ (4:48:02​) Express Info ⌨️ (4:51:50​) Express Basics ⌨️ (5:03:05​) Express - App Example ⌨️ (5:14:31​) Express - All Static ⌨️ (5:18:13​) API Vs SSR ⌨️ (5:24:07​) JSON Basics ⌨️ (5:32:40​) Params, Query String - Setup ⌨️ (5:39:13​) Route Params ⌨️ (5:48:25​) Params - Extra Info ⌨️ (5:50:42​) Query String ⌨️ (6:07:31​) Additional Params And Query String Info ⌨️ (6:10:46​) Middleware - Setup ⌨️ (6:21:27​) APP.USE ⌨️ (6:28:31​) Multiple Middleware Functions ⌨️ (6:36:36​) Additional Middleware Info ⌨️ (6:43:26​) Methods - GET ⌨️ (6:49:01​) Methods - POST ⌨️ (6:52:53​) Methods - POST (Form Example) ⌨️ (7:05:31​) Methods - POST (Javascript Example) ⌨️ (7:21:22​) Install Postman ⌨️ (7:30:19​) Methods - PUT ⌨️ (7:41:43​) Methods - DELETE ⌨️ (7:50:05​) Express Router - Setup ⌨️ (8:05:36) Express Router - Controllers Check out free Postman programs for students and educators to help you learn more about APIs: https://www.postman.com/company/student-program/ Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://freecodecamp.org/news

You May Also Like

Boost Your Web Dev Setup

AI-recommended products based on this video

Loading...
10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

(1)
$99.99
FREE delivery Mon, Aug 11
Loading...
ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

(49)
$117.29$102.21
$6.86 delivery Thu, Aug 14
Loading...
7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

(61)
$68.99
FREE delivery Tue, Aug 12
Loading...
BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

(288)
$54.14
FREE delivery Sun, Jun 22
Loading...
Firefly Variety 8 Pack - Fire Starter Accessory for Swiss Army Victorinox Knives (Neon Green-Yellow Glow)

Firefly Variety 8 Pack - Fire Starter Accessory for Swiss Army Victorinox Knives (Neon Green-Yellow Glow)

(181)
$70.15$61.13
$5.05 delivery Thu, Jun 26Only 3 left in stock.
Loading...
9-in-1 5000A 150PSI Car Battery Booster Jump Starter with Air Compressor (All Gas/9L Diesel), Portable Car Battery Booster Pack, Safe Durable Car Jump Starter with Extended Jumper Cables, Glove, Light

9-in-1 5000A 150PSI Car Battery Booster Jump Starter with Air Compressor (All Gas/9L Diesel), Portable Car Battery Booster Pack, Safe Durable Car Jump Starter with Extended Jumper Cables, Glove, Light

(261)
$99.99
FREE delivery Sat, Sep 20
1K+ bought in past month
Loading...
Syntech Link Cable Compatible with Meta/Oculus Quest 3S/Quest 3/Quest2/Pro/Pico 4/Ultra and PC/SteamVR, 16FT Upgraded Type C Cable with USB 3.0 Adapter, High Speed Data Transfer Cord for VR Headset
Best Seller

Syntech Link Cable Compatible with Meta/Oculus Quest 3S/Quest 3/Quest2/Pro/Pico 4/Ultra and PC/SteamVR, 16FT Upgraded Type C Cable with USB 3.0 Adapter, High Speed Data Transfer Cord for VR Headset

(1,405)
$26.99
FREE delivery Tue, Jun 17 on your first order
100+ bought in past month
Loading...
INIU 16FT Link Cable for Meta Oculus Quest 2/3/Pro and PC VR Gaming - USB 3.0 Type C Cable with Separate Charging Port for VR Headset Accessories
Best Seller

INIU 16FT Link Cable for Meta Oculus Quest 2/3/Pro and PC VR Gaming - USB 3.0 Type C Cable with Separate Charging Port for VR Headset Accessories

(3,575)
$29.69$23.74
FREE delivery Tue, Jun 17 on your first order
300+ bought in past month
Loading...
USB C Cable 6ft Type C Charger Cable 3.1A Fast Charging Nylon Braided USB A to USB C Charge Cord for Samsung Galaxy S25 S24 S23 S22 S21 S20 A12 A13 A14 A15 A16 A32 A53 5G Android Phone Tablet PS5 LG

USB C Cable 6ft Type C Charger Cable 3.1A Fast Charging Nylon Braided USB A to USB C Charge Cord for Samsung Galaxy S25 S24 S23 S22 S21 S20 A12 A13 A14 A15 A16 A32 A53 5G Android Phone Tablet PS5 LG

(4,378)
$8.41
FREE delivery Sat, Jun 14 on your first order
400+ bought in past month
Loading...
iPhone 16 15 Charger [Apple MFi Certified] 2 Pack USB C Wall Charger Block 6FT USB C to Type C Cable Compatible with iPhone 16 15 Pro Max,16e, AirPods Pr, iPad Pro12.9/11, Samsung/Android Phones

iPhone 16 15 Charger [Apple MFi Certified] 2 Pack USB C Wall Charger Block 6FT USB C to Type C Cable Compatible with iPhone 16 15 Pro Max,16e, AirPods Pr, iPad Pro12.9/11, Samsung/Android Phones

(321)
$17.99
FREE delivery Sat, Jun 14 on your first order
50+ bought in past month
Loading...
Dell P2725H 27" Full HD 1920 x 1080 Monitor - 1 Year Warranty, Computer Monitor Screen Bundle with Power Cable + USB 3.0 Upstream Cable + Display Port Cable + HDMI Cable + Microfiber Cloth Included

Dell P2725H 27" Full HD 1920 x 1080 Monitor - 1 Year Warranty, Computer Monitor Screen Bundle with Power Cable + USB 3.0 Upstream Cable + Display Port Cable + HDMI Cable + Microfiber Cloth Included

(35)
$539.87$539.34
FREE delivery Oct 8 - 10
Loading...
Dell P2425H Computer Monitor Screen 24" 16:9 IPS Display 100Hz w/Stand - 1 Year Warranty, Full HD, 1920 x 1080 with Power Cord + DisplayPort Cable + HDMI Cable + USB 3.0 Cable + Microfiber Cloth

Dell P2425H Computer Monitor Screen 24" 16:9 IPS Display 100Hz w/Stand - 1 Year Warranty, Full HD, 1920 x 1080 with Power Cord + DisplayPort Cable + HDMI Cable + USB 3.0 Cable + Microfiber Cloth

(57)
$981.72
Loading...
Acer PM161Q Bbmiuux 15.6" Full HD (1920 x 1080) Widescreen Portable IPS Display | AMD FreeSync Technology | 4ms (G to G) | 2 Speakers | USB Type-C Cable and Mini HDMI Cable

Acer PM161Q Bbmiuux 15.6" Full HD (1920 x 1080) Widescreen Portable IPS Display | AMD FreeSync Technology | 4ms (G to G) | 2 Speakers | USB Type-C Cable and Mini HDMI Cable

(149)
$157.04$119.76
FREE delivery Mon, Aug 11
100+ bought in past month
Loading...
Acer EDA270U Pbmiipx 27" WQHD (2560 x 1440) 1500R Curved Widescreen Gaming Display | AMD FreeSync Premium | 1ms (VRB) | up to 170Hz Refresh | HDR 10 | 2 Speakers | Display Port and HDMI Cable Incl.
Amazon's Choice

Acer EDA270U Pbmiipx 27" WQHD (2560 x 1440) 1500R Curved Widescreen Gaming Display | AMD FreeSync Premium | 1ms (VRB) | up to 170Hz Refresh | HDR 10 | 2 Speakers | Display Port and HDMI Cable Incl.

(714)
199.96
PrimeFREE delivery Sunday, June 15.
200+ bought in past month
Loading...
Gigastone 32GB 5-Pack Micro SD Card, Camera Plus, Nintendo-Switch Compatible, High Speed 90MB/s, 4K Video Recording, Micro SDHC UHS-I A1 Class 10

Gigastone 32GB 5-Pack Micro SD Card, Camera Plus, Nintendo-Switch Compatible, High Speed 90MB/s, 4K Video Recording, Micro SDHC UHS-I A1 Class 10

(8,903)
$34.98
FREE delivery Sat, Jun 14 on your first order
400+ bought in past month
Loading...
Firewall Mini PC Octa-core i3-N305, 32GB DDR5 RAM 512GB SSD, 4 x 2.5GbE i226V LAN Fanless Computer Hardware, Micro Router Appliance, AES-NI, TF Card Slot, Dual 4K Display HDMI 2.1 + DP 1.4

Firewall Mini PC Octa-core i3-N305, 32GB DDR5 RAM 512GB SSD, 4 x 2.5GbE i226V LAN Fanless Computer Hardware, Micro Router Appliance, AES-NI, TF Card Slot, Dual 4K Display HDMI 2.1 + DP 1.4

(0)
$666.99
FREE delivery Jul 3 - 24
Loading...
Inland 32GB Class 10 SDHC Flash Memory Card Standard Full Size SD Card USH-I U1 Trail Camera by Micro Center (2 Pack)

Inland 32GB Class 10 SDHC Flash Memory Card Standard Full Size SD Card USH-I U1 Trail Camera by Micro Center (2 Pack)

(41,906)
$35.32$35.15
FREE delivery Sun, Jun 15
Loading...
Logitech K250 Bluetooth Keyboard with Numpad, Easy Connectivity, Compact Wireless Keyboard Made with Recycled Plastic, Spill-Resistant, Comfortable Keys - Windows/MacOS - Graphite
Best Seller

Logitech K250 Bluetooth Keyboard with Numpad, Easy Connectivity, Compact Wireless Keyboard Made with Recycled Plastic, Spill-Resistant, Comfortable Keys - Windows/MacOS - Graphite

(49)
$19.99$18.59
FREE delivery Mon, Aug 18 on your first order
Loading...
Logitech K400 Plus Wireless Touch TV Keyboard With Easy Media Control and Built-in Touchpad, HTPC Keyboard for PC-connected TV, Windows, Android, Chrome OS, Laptop, Tablet - Black
Best Seller

Logitech K400 Plus Wireless Touch TV Keyboard With Easy Media Control and Built-in Touchpad, HTPC Keyboard for PC-connected TV, Windows, Android, Chrome OS, Laptop, Tablet - Black

(38,516)
$39.98$35.98
FREE delivery Thu, Sep 4
500+ bought in past month
Loading...
10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

(1)
$99.99
FREE delivery Mon, Aug 11
Loading...
ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

(49)
$117.29$102.21
$6.86 delivery Thu, Aug 14
Loading...
7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

(61)
$68.99
FREE delivery Tue, Aug 12
Loading...
BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

(288)
$54.14
FREE delivery Sun, Jun 22
Loading...
Laplink PCmover Ultimate 11 - Migration of your Applications, Files and Settings from an Old PC to a New PC - Data Transfer Software - With Optional High Speed Ethernet Cable - 1 License

Laplink PCmover Ultimate 11 - Migration of your Applications, Files and Settings from an Old PC to a New PC - Data Transfer Software - With Optional High Speed Ethernet Cable - 1 License

(4,609)
$54.95
PrimeFREE delivery Sat, Jun 14