Book Image

Learn Node.js by Building 6 Projects

By : Eduonix Learning Solutions
Book Image

Learn Node.js by Building 6 Projects

By: Eduonix Learning Solutions

Overview of this book

<p>With its event-driven architecture and efficient web services capabilities, more and more companies are building their entire infrastructure around Node.js. Node has become a de facto part of web development that any serious developer needs to master.</p> <p>This book includes six Node.js projects that gradually increase in complexity. You'll start by building a simple web server and create a basic website. You will then move to create the login system, blog system, chat system, and e-learning system.</p> <p>By creating and following the example projects in this book, you’ll improve your Node.js skills through practical working projects, and you'll learn how to use Node.js with many other useful technologies, such as ExpressJS, Kickstart, and Heroku.</p>
Table of Contents (12 chapters)

The app and HTML Kickstart setup


In this section, we'll build a fairly simple online learning system. So we'll use obviously Node.js along with some other technologies. We have used some of them (not all). We are going to use Passport and use an authentication system. We're also going to use HTML KickStart for our frontend, which is just something that's similar to Bootstrap. I just wanted to kind of change it up a little bit. Now I want to be able to have students and instructors both come and register and login. Instructors will be able to create classes and lessons within those classes, and then students will be able to register for those classes.

Setting up an application using Express Generator

First, we'll set up our application using Express Generator. So let's go to the Projects folder and open up a command line in Projects. I'm using my Git Bash tool and we're going to run our Express Generator. If you don't have this, then you want to install it using the npm install -g express command...