Video description
Learn by Example Building and Deploying Real-World Node.js Applications from Absolute Scratch
About This Video
- An application where content creators can register and jot down and manage ideas for future videos
- A much more sophisticated project. A social network for creating public and private stories.
In Detail
You will learn how to structure your Node/Express applications, create data models, relate data, display views, authenticate users, create helpers and much more. Project 1 - Vidjot An application where content creators can register and jot down and manage ideas for future videos.The first project is quite simple as it is meant to be an introduction where the author explains everything about Express routing, middleware, templates, Mongoose, and so on. We implement Passport and a local strategy where we store emails as usernames and encrypted passwords in our database. We will prepare and deploy this app to Heroku and add a domain name. Project 2 - Storybooks: A much more sophisticated project. A social network for creating public and private stories. This app uses a Google OAuth 2.0 strategy for authentication. Users can login and create stories which can be set to public or private. They can also choose if comments are allowed to be posted. We will create a dashboard for users to manage their stories. We will create helpers for authentication and access control as well as handlebars template helpers. We will prepare and deploy this app to Heroku and add a domain name.
Downloading the example code for this course: You can download the example code files for all Packt video courses you have purchased from your account at http://www.PacktPub.com. If you purchased this course elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.
Publisher resources
Table of contents
-
Chapter 1 : Course Introduction
- Welcome To the Course 00:05:24
- Project Files & Questions 00:01:24
-
Chapter 2 : Setting Up
- Dev Environment Setup 00:06:47
- EWhat Exactly Is Node.js? 00:05:09
- Installing & Exploring Node.js 00:07:05
- Install MongoDB Locally 00:08:01
- Sign Up For mLab 00:02:37
- Create a Heroku Account 00:02:37
-
Chapter 3 : VidJot Project Start & Express Fundamentals
- VidJot Project Introduction 00:03:50
- Install & Initialize Express 00:07:32
- Basic Routing & Nodemon 00:06:03
- Express Middleware 00:04:52
- Working with Templates 00:09:56
- Bootstrap & Partials 00:08:08
-
Chapter 4 : Mongoose & Local MongoDB
- Install Mongoose & Connect 00:05:36
- Create the Idea Model 00:04:34
- Add Idea Form 00:07:20
- Server Side Form Validation 00:09:18
- Saving Idea to MongoDB 00:04:28
- Fetching Ideas from MongoDB 00:05:25
- Edit Idea Form 00:05:16
- Update Idea Data 00:08:36
- Remove Idea Data 00:05:52
- Flash Messaging 00:10:40
-
Chapter 5 : Local Authentication with Passport
- A Look at Passport 00:04:42
- The Express Router 00:10:54
- Login & Register Pages 00:12:51
- Register Form Validation 00:11:10
- User Registration 00:16:38
- Hooking Up a Local Strategy 00:10:41
- Finishing the Login Functionality 00:12:14
- Logout Function 00:03:31
- Protecting Routes 00:06:27
- Access Control 00:07:55
-
Chapter 6 : VidJot Prep & Deployment
- Preparing Our App for Deployment 00:07:37
- Deploying To Heroku 00:07:36
- Adding a Domain Name 00:04:25
-
Chapter 7 : StoryBooks Project Start & Google OAuth
- StoryBooks App Introduction 00:03:56
- Initial Setup & Heroku Push 00:11:24
- Creating Our Google OAuth Credentials 00:08:15
- Creating Our Google Strategy 00:12:07
- Auth Callback & Remote App 00:09:16
- Creating the User Model 00:06:29
- Saving the Authenticated User 00:10:28
- Adding Session & Authentication 00:12:08
-
Chapter 8 : Creating Our UI
- Index Routes & Handlebars 00:12:03
- Header & Navbar 00:09:06
- Side Navigation 00:09:26
- Dashboard & Stories Routes 00:08:37
- Add Button & Footer 00:10:24
- Restricting Routes 00:06:29
- Add Story Form 00:11:18
-
Chapter 9 : Stories & the Database
- Create the Story Model 00:05:52
- Save Story to MongoDB 00:13:17
- Fetch & Display Public Stories 00:11:51
- Handlebars Helpers 00:06:38
- Show Template & Format Dates 00:11:16
- Creating the Dashboard 00:12:20
- Edit Form & Select Helper 00:09:06
- Updating Stories 00:07:50
- Deleting Stories 00:04:06
-
Chapter 10 : Comments, Access Control & Cleanup
- Add Comment Functionality 00:09:47
- Listing Comments 00:04:23
- Edit Access Control 00:10:23
- Get Stories from Specific Users 00:07:12
- Block Private Story Details 00:05:13
-
Chapter 11 : StoryBooks Prep & Deployment
- Prep & Production Key Variables 00:08:23
- Deploy & Test 00:05:03
- Domain & Update Google OAuth Creds 00:05:02
Product information
- Title: Node.js, Express and MongoDB Dev to Deployment
- Author(s):
- Release date: May 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789535952
You might also like
video
Docker for the Absolute Beginner - Hands-On
Docker is an open platform for developers and sysadmins to build, deploy, and run distributed applications …
video
Understanding TypeScript
Don't limit the Usage of TypeScript to Angular 2! Learn the Basics, its Features, Workflows and …
video
Complete Git Guide: Understand and Master Git and GitHub
Master basic to advanced Git features such as commits, branches, merging, rebasing, and squashing About This …
video
Microsoft Power BI - The Complete Masterclass [2023 EDITION]
Microsoft Power BI is an interactive data visualization software primarily focusing on business intelligence, part of …