Code with Node: Learn by Doing
Buy now
Learn more
Intro & Overview
IMPORTANT UPDATE, PLEASE READ
Overview
How to Get Help with a Bug or Issue
Introduction & Trello Setup
Bootstrapping of Express & Database Design
Setting up Express with Express-gener...
Database Design
Source Code: Database Design
Routes
Post Routes
Source Code: Post Routes
Review Routes
Source Code: Review Routes
User Routes
Source code: User Routes
Models
User Model
Post Model
Review Model
Source Code: Models
User Authentication
Set Up Passport
Configure Passport & Create Index Con...
Test postRegister Method
Note about the next lecture
Connect to MongoDB & Test /register P...
Add User Email & Profile Image
Source Code: User Authentication (1-5)
Refactor /register Post Route
Refactor postRegister & errorHandler
Source Code: User Authentication (6-7)
/login and /logout Routes
Source Code: User Authentication (8)
Refactor /login and /logout Routes
Source Code: User Authentication (9)
Post Resource
Posts - Index
Source Code: Posts Index
Posts - New
Source Code: Posts New
Posts - Create
Source Code: Posts Create
Posts - Show
Source Code: Posts Show
Posts - Index (Revisited)
Source Code: Posts Index Revisited
Posts - Edit
Source Code: Posts Edit
Posts - Quick Refactor
Source Code: Posts Quick Refactor
Posts - Update
Source Code: Posts Update
Posts - Destroy
Source Code: Posts Destroy
Images Upload with Cloudinary
Posts - Images Upload - Create
Source Code: Posts - Images Upload - ...
Posts - Images Upload - Review
Source Code: Posts - Images Upload - ...
Posts - Images Upload - Client Valida...
Source Code: Posts - Images Upload - ...
Posts - Images Upload - Edit/Update
Source Code: Posts - Images - Upload ...
Posts - Images Upload - Edit/Update -...
Posts - Images Upload - Delete
Source Code: Posts - Images Upload - ...
Geolocation with Mapbox
Posts - Mapbox - Signup and Geocode
Source Code: Posts - Mapbox - Signup ...
Posts - Mapbox - Displaying the Map
Source Code: Posts - Mapbox - Display...
Posts - Mapbox - Dynamic Map
Source Code: Posts - Mapbox - Dynamic...
Posts - Mapbox - Update Location
Source Code: Posts - Mapbox - Update ...
EJS Layouts
Layouts - Intro
Layouts - Show
Source Code: Layouts - Intro & Show
Layouts - Navbar
Source Code: Layouts - Navbar
Layouts - Flash Messages - Part 1
Layouts - Flash Messages - Part 2
Source Code: Layouts - Flash Messages
Review Resource
Reviews - Initial Setup
Source Code: Reviews - Initial Setup
Reviews - Create
Source Code: Reviews - Create
Reviews - cURL
Source Code: Reviews - cURL
Reviews - Author
Source Code: Reviews - Author
Reviews - Toggle Edit Form
Reviews - Update
Reviews - Cleanup of Client JS
Source Code: Reviews - Edit/Update
Reviews - Authorization
Source Code: Reviews - Authorization
Reviews - Delete
Source Code: Reviews - Delete
Reviews - Restrict
Source Code: Reviews - Restrict
Reviews - Delete Refs
Source Code: Reviews - Delete Refs
Reviews - Star Rating
Source Code: Reviews - Star Rating
Sublime Text - Markdown Preview Package
Reviews - Clear Rating Button
Source Code: Reviews - Clear Rating B...
Post - Seeds & Pagination
Posts - Seeds & Pagination Pt. 1
Posts - Seeds & Pagination Pt. 2
Source Code: Posts - Seeds & Pagination
Post - Average Rating
Posts - Average Rating Pt. 1
Posts - Average Rating Pt. 2
Source Code: Posts - Average Rating
Cluster Maps
Cluster Maps Pt. 1 - Follow Along
Cluster Maps Pt. 2 - Follow Along
Cluster Maps Pt. 3 - Explanation
Cluster Maps Pt. 4 - Explanation
Cluster Maps Pt. 5 - Explanation
Cluster Maps Pt. 6 - Post Create and ...
Source Code: Cluster Maps (Updated!)
Multer Storage Cloudinary
Multer Storage Cloudinary Pt 1.
Multer Storage Cloudinary Pt 2.
Source Code: Multer Storage Cloudinary
multer-storage-cloudinary-update.mp4
User Authentication and Authorization (Cont.)
Pt. 1 - Add methods to routes
Pt. 2 - Add views and validation midd...
Source Code: User Auth. Continued (Pt...
Pt. 3 - Remove checkIfUserExists and ...
Pt. 4 - Update postRegister, add emai...
Source Code: User Auth. Continued (Pt...
Pt. 5 - Add isAuthor Middleware
Pt. 6 - Update UI and Test Pt. 5 Changes
Source Code: User Auth. Continued (Pt...
Housekeeping - Bug Fixes and Updates
Intro - Skit
Bug Fixes and Updates Pt.1
Source Code: Bug Fixes and Updates Pt. 1
Bug Fixes and Updates Pt. 2
Source Code: Bug Fixes and Updates Pt. 2
User Profile
Pt. 1 - Create profile and add recent...
Source Code: User Profile Pt. 1
Pt. 2 - Add update profile form and u...
Pt. 3 - Add client JS for form valida...
Pt. 4 - Add middleware, controller me...
Source Code: User Profile Pt. 2 - 4
Pt. 5 - Refactor Validation
Source Code: User Profile Pt. 5
Profile Image
Pt. 1 - Feature overview
Pt. 2 - Client Setup and User Model U...
Pt. 3 - Add deleteProfileImage Middle...
Pt. 4 - Update Index Controller
Pt. 5 - Update User (Index) Routes
Source Code: Profile Image
Forgot Password / Reset
Pt. 1 - Feature Overview
Course Note - Please Read
Pt. 2 - Sign Up for SendGrid
Pt. 3 - New Guide Format
Pt. 4 - Add API key, Install SendGrid...
Pt. 5 - Views
Pt. 6 - Index Controller (1)
Pt. 7 - Index Controller (2)
Pt. 8 - Index Controller (3)
Pt. 9 - Routes
Source Code: Forgot Password / Reset
Search and Filter
Pt. 1 - Feature Overview
Pt. 2 - Code Overview
Pt. 3 - Add 2dsphere Index to Post Model
Pt. 4 - Update Seeds File & Re-seed D...
Pt. 5 - Views (boilerplate & paginate...
Pt. 6 - Views (searchFilter)
Pt. 7 - Views (searchFilter cont.)
Pt. 8 - Views (posts/index)
Pt. 9 - Controllers (posts)
Pt. 10 - Views Refactor 1
Pt. 11 - Views Refactor 2
Pt. 12 - Middleware (1)
Pt. 13 - Middleware (2)
Pt. 14 - Middleware (3)
Pt. 15 - Middleware (4)
Pt. 16 - Middleware (5)
Pt. 17 - Middleware (6)
Pt. 18 - Routes, Public, and Feature ...
Pt. 19 - Use My Location
Note: Bug Fix
Source Code: Search and Filter
Theming
Pt. 1 - Feature Overview
Pt. 2 - Copy Theme Files and Install ...
Pt. 3 - Update Seeds, Index Controlle...
Important Update (please read)
Course Update (please read)
Products
Course
Section
Multer Storage Cloudinary
Multer Storage Cloudinary
Code with Node: Learn by Doing
Buy now
Learn more
Intro & Overview
IMPORTANT UPDATE, PLEASE READ
Overview
How to Get Help with a Bug or Issue
Introduction & Trello Setup
Bootstrapping of Express & Database Design
Setting up Express with Express-gener...
Database Design
Source Code: Database Design
Routes
Post Routes
Source Code: Post Routes
Review Routes
Source Code: Review Routes
User Routes
Source code: User Routes
Models
User Model
Post Model
Review Model
Source Code: Models
User Authentication
Set Up Passport
Configure Passport & Create Index Con...
Test postRegister Method
Note about the next lecture
Connect to MongoDB & Test /register P...
Add User Email & Profile Image
Source Code: User Authentication (1-5)
Refactor /register Post Route
Refactor postRegister & errorHandler
Source Code: User Authentication (6-7)
/login and /logout Routes
Source Code: User Authentication (8)
Refactor /login and /logout Routes
Source Code: User Authentication (9)
Post Resource
Posts - Index
Source Code: Posts Index
Posts - New
Source Code: Posts New
Posts - Create
Source Code: Posts Create
Posts - Show
Source Code: Posts Show
Posts - Index (Revisited)
Source Code: Posts Index Revisited
Posts - Edit
Source Code: Posts Edit
Posts - Quick Refactor
Source Code: Posts Quick Refactor
Posts - Update
Source Code: Posts Update
Posts - Destroy
Source Code: Posts Destroy
Images Upload with Cloudinary
Posts - Images Upload - Create
Source Code: Posts - Images Upload - ...
Posts - Images Upload - Review
Source Code: Posts - Images Upload - ...
Posts - Images Upload - Client Valida...
Source Code: Posts - Images Upload - ...
Posts - Images Upload - Edit/Update
Source Code: Posts - Images - Upload ...
Posts - Images Upload - Edit/Update -...
Posts - Images Upload - Delete
Source Code: Posts - Images Upload - ...
Geolocation with Mapbox
Posts - Mapbox - Signup and Geocode
Source Code: Posts - Mapbox - Signup ...
Posts - Mapbox - Displaying the Map
Source Code: Posts - Mapbox - Display...
Posts - Mapbox - Dynamic Map
Source Code: Posts - Mapbox - Dynamic...
Posts - Mapbox - Update Location
Source Code: Posts - Mapbox - Update ...
EJS Layouts
Layouts - Intro
Layouts - Show
Source Code: Layouts - Intro & Show
Layouts - Navbar
Source Code: Layouts - Navbar
Layouts - Flash Messages - Part 1
Layouts - Flash Messages - Part 2
Source Code: Layouts - Flash Messages
Review Resource
Reviews - Initial Setup
Source Code: Reviews - Initial Setup
Reviews - Create
Source Code: Reviews - Create
Reviews - cURL
Source Code: Reviews - cURL
Reviews - Author
Source Code: Reviews - Author
Reviews - Toggle Edit Form
Reviews - Update
Reviews - Cleanup of Client JS
Source Code: Reviews - Edit/Update
Reviews - Authorization
Source Code: Reviews - Authorization
Reviews - Delete
Source Code: Reviews - Delete
Reviews - Restrict
Source Code: Reviews - Restrict
Reviews - Delete Refs
Source Code: Reviews - Delete Refs
Reviews - Star Rating
Source Code: Reviews - Star Rating
Sublime Text - Markdown Preview Package
Reviews - Clear Rating Button
Source Code: Reviews - Clear Rating B...
Post - Seeds & Pagination
Posts - Seeds & Pagination Pt. 1
Posts - Seeds & Pagination Pt. 2
Source Code: Posts - Seeds & Pagination
Post - Average Rating
Posts - Average Rating Pt. 1
Posts - Average Rating Pt. 2
Source Code: Posts - Average Rating
Cluster Maps
Cluster Maps Pt. 1 - Follow Along
Cluster Maps Pt. 2 - Follow Along
Cluster Maps Pt. 3 - Explanation
Cluster Maps Pt. 4 - Explanation
Cluster Maps Pt. 5 - Explanation
Cluster Maps Pt. 6 - Post Create and ...
Source Code: Cluster Maps (Updated!)
Multer Storage Cloudinary
Multer Storage Cloudinary Pt 1.
Multer Storage Cloudinary Pt 2.
Source Code: Multer Storage Cloudinary
multer-storage-cloudinary-update.mp4
User Authentication and Authorization (Cont.)
Pt. 1 - Add methods to routes
Pt. 2 - Add views and validation midd...
Source Code: User Auth. Continued (Pt...
Pt. 3 - Remove checkIfUserExists and ...
Pt. 4 - Update postRegister, add emai...
Source Code: User Auth. Continued (Pt...
Pt. 5 - Add isAuthor Middleware
Pt. 6 - Update UI and Test Pt. 5 Changes
Source Code: User Auth. Continued (Pt...
Housekeeping - Bug Fixes and Updates
Intro - Skit
Bug Fixes and Updates Pt.1
Source Code: Bug Fixes and Updates Pt. 1
Bug Fixes and Updates Pt. 2
Source Code: Bug Fixes and Updates Pt. 2
User Profile
Pt. 1 - Create profile and add recent...
Source Code: User Profile Pt. 1
Pt. 2 - Add update profile form and u...
Pt. 3 - Add client JS for form valida...
Pt. 4 - Add middleware, controller me...
Source Code: User Profile Pt. 2 - 4
Pt. 5 - Refactor Validation
Source Code: User Profile Pt. 5
Profile Image
Pt. 1 - Feature overview
Pt. 2 - Client Setup and User Model U...
Pt. 3 - Add deleteProfileImage Middle...
Pt. 4 - Update Index Controller
Pt. 5 - Update User (Index) Routes
Source Code: Profile Image
Forgot Password / Reset
Pt. 1 - Feature Overview
Course Note - Please Read
Pt. 2 - Sign Up for SendGrid
Pt. 3 - New Guide Format
Pt. 4 - Add API key, Install SendGrid...
Pt. 5 - Views
Pt. 6 - Index Controller (1)
Pt. 7 - Index Controller (2)
Pt. 8 - Index Controller (3)
Pt. 9 - Routes
Source Code: Forgot Password / Reset
Search and Filter
Pt. 1 - Feature Overview
Pt. 2 - Code Overview
Pt. 3 - Add 2dsphere Index to Post Model
Pt. 4 - Update Seeds File & Re-seed D...
Pt. 5 - Views (boilerplate & paginate...
Pt. 6 - Views (searchFilter)
Pt. 7 - Views (searchFilter cont.)
Pt. 8 - Views (posts/index)
Pt. 9 - Controllers (posts)
Pt. 10 - Views Refactor 1
Pt. 11 - Views Refactor 2
Pt. 12 - Middleware (1)
Pt. 13 - Middleware (2)
Pt. 14 - Middleware (3)
Pt. 15 - Middleware (4)
Pt. 16 - Middleware (5)
Pt. 17 - Middleware (6)
Pt. 18 - Routes, Public, and Feature ...
Pt. 19 - Use My Location
Note: Bug Fix
Source Code: Search and Filter
Theming
Pt. 1 - Feature Overview
Pt. 2 - Copy Theme Files and Install ...
Pt. 3 - Update Seeds, Index Controlle...
Important Update (please read)
Course Update (please read)
In this section we will refactor our image upload code so that we no longer store buffer files locally in the /uploads folder. Now, everything is stored on Cloudinary.
4 Lessons
Multer Storage Cloudinary Pt 1.
Multer Storage Cloudinary Pt 2.
Source Code: Multer Storage Cloudinary
multer-storage-cloudinary-update.mp4
Book a 1:1 Tutoring Session