Node.js App From Scratch | Express, MongoDB & Google OAuth

Traversy Media June 19, 2020
Video Thumbnail

About

No channel description available.

Video Description

This is a full application build of the StoryBooks app which uses Node.js, Express, MongoDB, Passport with a Google OAuth strategy and more. Full Code: https://github.com/bradtraversy/storybooks 💖 Become a Patron: Show support & get perks! http://www.patreon.com/traversymedia Website & Udemy Course Links: https://www.traversymedia.com Follow Traversy Media: https://www.twitter.com/traversymedia https://www.instagram.com/traversymedia https://www.facebook.com/traversymedia TimeStamps: Intro - 00:00 Database Setup - 3:41 Install Dependencies - 6:10 Initial Express Setup - 10:26 Connect Database - 14:00 Morgan Logger - 17:27 Template Engine & Layouts - 18:22 Index Routes & Views - 21:44 Materialize & Font Awesome - 25:54 Set Static Folder - 26:55 Login Layout - 29:13 Login Page Template - 31:55 Start Google Login - 33:57 Passport Intro - 36:46 Passport Config & Sessions - 39:00 User Model - 42:49 Passport Google Strategy - 45:41 Auth Routes - 49:50 Save Google Profile Data - 55:06 Logout - 59:54 Navigation - 1:01:11 Auth Middleware - 1:03:22 Store Sessions In Database - 1:08:36 Story Model - 1:12:27 Dashboard Stories - 1:14:44 Add Story - 1:21:57 Format Date Handlebar Helper - 1:33:35 Public Stories - 1:36:40 Truncate & StripTags Helpers - 1:44:10 Edit Icon Helper - 1:47:04 Edit Story - 1:54:21 Method Override For PUT Requests - 2:02:30 Method Override For DELETE Requests - 2:10:56 Single Story Page - 2:18:46 User Stories - 2:24:36

Instant Home Upgrade

AI-recommended products based on this video

Loading...
Small Standing Desk Adjustable Height, Mobile Stand Up Desk with Wheels, 32 Inch Portable Rolling Desks for Walking Pad Treadmill Wood Rustic

Small Standing Desk Adjustable Height, Mobile Stand Up Desk with Wheels, 32 Inch Portable Rolling Desks for Walking Pad Treadmill Wood Rustic

(1,020)
$92.99
FREE delivery Mon, Feb 16
Loading...
King Size Bed Frame, 14'' Metal Platform with Rustic Wood, 2000 lbs Capacity, Metal Bed Frame No Box Spring Needed with Ample Storage Space - Easy Assembly and Noise Free

King Size Bed Frame, 14'' Metal Platform with Rustic Wood, 2000 lbs Capacity, Metal Bed Frame No Box Spring Needed with Ample Storage Space - Easy Assembly and Noise Free

(135)
$135.97
FREE delivery Fri, Jun 27
100+ bought in past month
Loading...
Queen Bed Frame 14'' Metal Platform with Rustic Wood, 2000 lbs Capacity, Metal Bed Frame No Box Spring Needed with Ample Storage Space - Easy Assembly and Noise Free

Queen Bed Frame 14'' Metal Platform with Rustic Wood, 2000 lbs Capacity, Metal Bed Frame No Box Spring Needed with Ample Storage Space - Easy Assembly and Noise Free

(124)
$125.97
FREE delivery Tue, Jun 17
100+ bought in past month
Loading...
IBF Wood Large Computer Desk, 70.8” Long Home Office Desk for Two Person, Farmhouse Work Study Writing Table in Bedroom, Simple Wide Metal Executive Double PC Gaming Workstation, Rustic Oak

IBF Wood Large Computer Desk, 70.8” Long Home Office Desk for Two Person, Farmhouse Work Study Writing Table in Bedroom, Simple Wide Metal Executive Double PC Gaming Workstation, Rustic Oak

(88)
$319.91
FREE delivery Thu, Jun 26
Loading...
Generic Collapsible Washing up Bowl Folding Dish Basin Bucket Portable Dish Pan Foldable Wash Basin for Camping Beach RV Backpacking, Green 38x23.5x11.5cm

Generic Collapsible Washing up Bowl Folding Dish Basin Bucket Portable Dish Pan Foldable Wash Basin for Camping Beach RV Backpacking, Green 38x23.5x11.5cm

(0)
$12.19
FREE delivery Aug 18 - 28
Loading...
Environet Hydroponic Growing Kit, Self-Watering Mason Jar Herb Garden Starter Kit Indoor, Windowsill Herb Garden, Grow Your Own Herbs from Organic Seeds (Basil)

Environet Hydroponic Growing Kit, Self-Watering Mason Jar Herb Garden Starter Kit Indoor, Windowsill Herb Garden, Grow Your Own Herbs from Organic Seeds (Basil)

(786)
$69.15$33.51
FREE delivery Jun 13 - 17
Loading...
RoboSeal Rechargeable Mason Jar Vacuum Sealer for Mason Jars Wide and Regular, One Touch Vacuum Sealer for Jars, 10 Lids Included, Digital Battery Indicator, As Seen on TV

RoboSeal Rechargeable Mason Jar Vacuum Sealer for Mason Jars Wide and Regular, One Touch Vacuum Sealer for Jars, 10 Lids Included, Digital Battery Indicator, As Seen on TV

(190)
$36.09
Prime
2K+ bought in past month
Loading...
Water Marbling Paint for Kids - Arts and Crafts for Girls & Boys Crafts Kits Ideal Gifts for Kids Age 6-8 8-12

Water Marbling Paint for Kids - Arts and Crafts for Girls & Boys Crafts Kits Ideal Gifts for Kids Age 6-8 8-12

(7,777)
$19.99$19.09
FREE delivery Sat, Jun 14 on your first order
500+ bought in past month
Loading...
Paint Your Own Moon Lamp Kit, DIY 3D Moon Night Light with Space Figurines & Wooden Stand, Art Supplies Creativity Arts & Crafts Kit for Kids, Toys Girls Boy Birthday Easter Gift Ages 3 4 5 6 7 8 9 10 11 12+

Paint Your Own Moon Lamp Kit, DIY 3D Moon Night Light with Space Figurines & Wooden Stand, Art Supplies Creativity Arts & Crafts Kit for Kids, Toys Girls Boy Birthday Easter Gift Ages 3 4 5 6 7 8 9 10 11 12+

(2,309)
$19.99
FREE delivery Sat, Jun 14 on your first order
400+ bought in past month
Loading...
Cordless Paint Sprayer for Dewalt 20V MAX Battery.Paint Spray Gun with Powerful Motor and 4 Copper Nozzle.650w Electric HVIP Sprayer for House Painting,Furniture, Wall, Door.(NOT Battery)

Cordless Paint Sprayer for Dewalt 20V MAX Battery.Paint Spray Gun with Powerful Motor and 4 Copper Nozzle.650w Electric HVIP Sprayer for House Painting,Furniture, Wall, Door.(NOT Battery)

(5)
$74.99
FREE delivery Wed, Aug 20
50+ bought in past month
Loading...
Koolmox Koolmox Canvas Grocery Bag, 6-Pack 22'' Large Bags with Reinforced Handles, 12 Oz Heavy Duty Reusable Washable Grocery Shopping Bags Plain Bags for Teacher Paint Embroidery Draw DIY Art Craft Totes

Koolmox Koolmox Canvas Grocery Bag, 6-Pack 22'' Large Bags with Reinforced Handles, 12 Oz Heavy Duty Reusable Washable Grocery Shopping Bags Plain Bags for Teacher Paint Embroidery Draw DIY Art Craft Totes

(144)
$39.99
PrimeFREE delivery Sat, Jun 14
Loading...
Herb Garden Planter Indoor Kit 21Pcs Kitchen Herb Starter Set Herb Growing Kit Including Wooden Box, Burlap Pots, Soil Discs, Gardening Tools, Unique Easter Birthday Christmas Gift Ideas for Women Mom

Herb Garden Planter Indoor Kit 21Pcs Kitchen Herb Starter Set Herb Growing Kit Including Wooden Box, Burlap Pots, Soil Discs, Gardening Tools, Unique Easter Birthday Christmas Gift Ideas for Women Mom

(0)
$21.99
$9.99 delivery Jun 19 - Jul 3
Loading...
Cordless Vacuum Cleaner 600W 55Kpa Stick Vacuum,Up to 55Mins, Vacuum Cleaners for Home Rechargeable Wall Mount OLED Color Screen Anti-Tangled Vacuum for Car,Hardwood Floor,Carpets,Pet Hair EHBL

Cordless Vacuum Cleaner 600W 55Kpa Stick Vacuum,Up to 55Mins, Vacuum Cleaners for Home Rechargeable Wall Mount OLED Color Screen Anti-Tangled Vacuum for Car,Hardwood Floor,Carpets,Pet Hair EHBL

(80)
$159.99
FREE delivery Mon, Jun 16
500+ bought in past month
Loading...
HONYUEYIM 2 PCS Handmade Boho Coasters,100% Cotton Woven Macrame Absorbent Coasters for Drinks,Heat Resistant Office Cotton Coasters for Coffee Table,Desk Kitchen Dining Room Kitchen,Housewarming Gift (Pink)

HONYUEYIM 2 PCS Handmade Boho Coasters,100% Cotton Woven Macrame Absorbent Coasters for Drinks,Heat Resistant Office Cotton Coasters for Coffee Table,Desk Kitchen Dining Room Kitchen,Housewarming Gift (Pink)

(2)
$14.43
FREE delivery Sun, Jul 6 on your first order
Loading...
HONYUEYIM 2 PCS Handmade Boho Coasters,100% Cotton Woven Macrame Absorbent Coasters for Drinks,Heat Resistant Office Cotton Coasters for Coffee Table,Desk Kitchen Dining Room Kitchen,Housewarming Gift (White)

HONYUEYIM 2 PCS Handmade Boho Coasters,100% Cotton Woven Macrame Absorbent Coasters for Drinks,Heat Resistant Office Cotton Coasters for Coffee Table,Desk Kitchen Dining Room Kitchen,Housewarming Gift (White)

(2)
$15.19
FREE delivery Sat, Jun 14 on your first order
Loading...
OSBO GradSeason Unisex Matte Kindergarten Graduation Gown Cap Tassel Set 2025

OSBO GradSeason Unisex Matte Kindergarten Graduation Gown Cap Tassel Set 2025

(2,582)
$15.99
FREE delivery Sat, Feb 14 on your first order
Loading...
Newrara Matte Graduation Cap and Gown Tassel Set

Newrara Matte Graduation Cap and Gown Tassel Set

(2,307)
$22.20$18.86
$6.66 delivery Fri, Feb 13
Loading...
OSBO GradSeason Unisex Matte Adult Graduation Gown Cap Tassel Set 2025

OSBO GradSeason Unisex Matte Adult Graduation Gown Cap Tassel Set 2025

(4,390)
$29.78
$6.66 delivery Mar 11 - 18
Loading...
Amosfun Amosfun Kids Graduation Gown and Tassel Set for Preschool and Kindergarten Ceremony Children S Academic Bachelor Costume for School Performance and Photography

Amosfun Amosfun Kids Graduation Gown and Tassel Set for Preschool and Kindergarten Ceremony Children S Academic Bachelor Costume for School Performance and Photography

(23)
$12.19
FREE delivery Sat, Feb 14 on your first order