Videos

Learn Node By Example – Part 11 – Preparing User Creating with BCrypt and Validator

1 year ago
We’ll use the bcryptjs and validator packages to prepare for our user saving. We have to update the name fields in our templates as well to get the correct posts. We end with an error, so next flash messages are needed to help us figure out what went wrong! GitHub: github.com/JREAM/learn-node-by-example

Learn Node By Example – Part 10 – Logging w/Log Rotation & Two Templates

1 year ago
We setup Log Rotation rather than standard logging using Node’s built in FileSystem (“fs”), Im using Node 6.9.5. We use another tool to make the logging rotate, after that we setup the two templates for account_delete and account_reactivate. GitHub: github.com/JREAM/learn-node-by-example

Learn Node By Example – Part 9 – Sessions & Tidy

1 year ago
This is a long video, learn the hard way and we’ll appreciate more packages later! We start by adding express-session which is middleware that attaches to the route’s ‘req’ variable appearing as ‘req.session’. We then create middleware to prevent unlogged in users from accessing the dashboard. A bit of time is consumed tidying of some […]

Learn Node By Example – Part 6 – Save to MongoDB with Mongoose

1 year ago
Here we will test our Mongo Connection using Node Mongoose and send some data it’s way to ensure our connection is working. GitHub: github.com/JREAM/learn-node-by-example

Learn Node By Example – Part 7 – Prepare Forms for Users

1 year ago
Add forms for the user to login, register, and forgot password. We also create the routes. GitHub: github.com/JREAM/learn-node-by-example

Node.js Tutorial for Beginners 23 – using JavaScript with EJS

1 year ago
EJS is a simple templating language that lets you generate HTML markup with plain JavaScript. EJS is a client-side templating language that was originally part of JavaScriptMVC.Let’s take a look at how we can create a simple application and use EJS,

Learn Node By Example – Part 4 – Handlebars Templating

1 year ago
I’ll use Handlebars as a template engine rather than Jade/Pug as it is much more common to front-end developers. This is how we set it up with layouts and partials using Handlebars in Express. GitHub: github.com/JREAM/learn-node-by-example

Learn Node By Example – Part 2 – Introducing Express

1 year ago
We can save a lot of time by using the Express Framework built for Node. It’s one of the most popular if not the most popular. This is how we install it, run it, and a quick bite of what’s going on. It’s quite simple at first. GitHub: github.com/JREAM/learn-node-by-example

Learn Node By Example – Part 1 – Setup & Run a Server

1 year ago
Learn Node JS by Example, we’ll start with installing Node and using NPM for packages. We will run a extremely simple server just to give you an idea of a bare bones server. GitHub: github.com/JREAM/learn-node-by-example

Node.js Tutorial for Beginners 22 – Node.js template engine EJS in Express

1 year ago
EJS is a simple templating language that lets you generate HTML markup with plain JavaScript. EJS is a client-side templating language that was originally part of JavaScriptMVC.Let’s take a look at how we can create a simple application and use EJS,

Node.js Tutorial for Beginners 21 – Express.js route parameter

1 year ago
Route parameters are named URL segments that are used to capture the values specified at their position in the URL. The captured values are populated in the req.params object, with the name of the route parameter specified in the path as their respective keys.

Node.js Tutorial for Beginners 20 – Introduction to Express.js

1 year ago
Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.ExpressJS is one of the most popular and widely used web frameworks in the Node.js development zone. ExpressJS allows you to handle Routes, Server and I/O stuff very easily.