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 […]
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.
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.
Get the Code Here : goo.gl/zmOf30 Best NodeJS / Express Book : amzn.to/1I6vNZo Support me on Patreon : www.patreon.com/derekbanas Bootstrap Tutorial : www.youtube.com/watch?v=gqOEoUR5RHg Handlebars Tutorial : www.youtube.com/watch?v=4HuAnM6b2d8 In this tutorial we’ll explore the Express NodeJS framework. It provides all of the capabilities of NodeJS, also makes it easy to build robust web applications quite easily […]
This 3-part series covers deployment of nodejs applications. – You’ll spin up and provision a server on digital ocean Promo Link for $10 server credits: www.digitalocean.com/?refcode=e9550355a3d6 – Setup automated deployment – Then refine the deployment of your app to run as an upstart service Prerequisite video! – SSH Tutorial: www.youtube.com/watch?v=DbPDraCYju8 What we’re doing in these […]
Nginx ROCKS! In this Nginx Tutorial, we’re going to setup Nginx to receive http requests to our domain name (port 80), then proxy to our Express.js Node.js App, which is running on port 3000. View Nginx Configuration Code here: gist.github.com/learncodeacademy/ebba574fc3f438c851ae We’re also going to set it up Nginx load balancing, so the http requests will […]
Node.js tutorial for beginners – 2014 Update This video is an introduction to Node js using the latest updates to the Express.js framework. Nodejs is an amazing web framework that makes web development and engineering tons of fun. Here’s some other videos: Node, MongoDB & Mongoose: Learn Angular.js in 30 Min! – Angular Tutorial for […]
This tutorial covers how to work with a MongoDB database using Node.js, Express.js, & Mongoose. Node.js and MongoDB are simply made for each other. Mongoose is an awesome tool for managing connection, schema, document relations, getting, setting, and more. This code is on Plunkr!: plnkr.co/edit/E5OpHJzVM9RsgVnbqhvp?p=catalogue Node.js Tutorial for Beginners: www.youtube.com/watch?v=ndKRjmA6WNA The first step in this […]