Node JS

Development

Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the Chrome V8 engine and executes JavaScript code outside a web browser.

Introduction

  • What is Node JS. 
  • History. 
  • Why Node JS?
  •  Course outline.

Basics of Node JS

  •  Installing Node JS.
  •  NPM introduction
  •  Creating a project and setting up package.json. 
  • Creating HTTP server. 
  • Event loop. 
  • Understanding Request/Response
  •  Introduction to Synchronous vs Asynchronous code. 
  • Installing nodemon.

Using Express JS

  • Express introduction.
  • Middlewares & next function in Express.
  • Defining routes
  • Setting routes to access different methods.
  • Serving HTML pages.

Working with MongoDB

  • What is MongoDB?
  • Introduction to alternative databases.
  • NoSQL and SQL
  • Mongoose ODM

REST API

  • What is REST API?
  • Controllers for routes.
  • Error catching in rest API
  • Async-Await

Security

  • Securing REST Endpoints using JWT.
  • Using middleware to protect routes.
  • Route specific middlewares.
  • Validation of Inputs.
  • Sanitization of inputs.
  • Environment variables.