NodeJS Made Easy for MEAN or MERN Stack

Video description

Get up and running with Node.js and build network applications with the help of practical exercises and real-time activities.

About This Video

  • Discover the importance of Node.js in network application development
  • Uncover tips and techniques to dockerize your Node application
  • Apply your knowledge to build a patient clinical API project

In Detail

Thanks to the power of Node.js, JavaScript developers can now build fast and scalable network applications with ease. If you’re an experienced JavaScript developer or are just getting started with your web development career, this course will help you grasp the fundamentals of Node.js quickly.

The course starts with the basics of Node and helps you set up the development environment by installing Node.js and Visual Studio Code on your machine. After the setup is complete, you will create a simple Node application to understand the in-built Node packages. As you progress, you will create REST APIs using Express, and learn how to develop a REST backend using the Mongoose package and MongoDB database.

Later, you will perform integration testing on your application using Mocha and Chai, dockerize your Node application, and secure your REST APIs using OAuth. After testing and securing your Node.js application, you will deploy it to AWS.

Finally, you will create a React frontend for your application and implement a RESTful API using PostgreSQL.

By the end of this course, you will be well-versed with Node.js and web development and have the skills you need to add value to your Node.js projects.

Audience

If you want to master the fundamentals of Node.js and create a backend using Node, Express, and MongoDB, then this course is for you. Even individuals who want to learn how to work with a Node backend and a React frontend, or create a REST API using Node, will benefit from this course.

Knowledge of JavaScript ES6 or the completion of any course on advanced JS and ES6 is necessary to get started with this course.

Publisher resources

Download Example Code

Table of contents

  1. Chapter 1 : Start Here
    1. Course and Instructor Introduction
  2. Chapter 2 : The Basics
    1. What is Node
    2. Why Node
    3. Node.js Package Manager (NPM)
    4. Install Node and Visual Studio Code
  3. Chapter 3 : Node in Action
    1. Create a Simple Node.js Application
    2. Adding Dependencies
    3. OS Module
    4. Write a file sync and async
    5. Use Arrow Functions
    6. Append and Rename
    7. Read and Delete
    8. HTTP module in action
    9. Return JSON Response
    10. Use nodemon
    11. Scripts block
  4. Chapter 4 : Express
    1. Introduction
    2. What is REST
    3. Create an Express App
    4. Express in Action
    5. Handle other HTTP Methods
    6. Use Router
    7. Create Customer Endpoint
  5. Chapter 5 : MongoDB
    1. Introduction
    2. Install MongoDB
    3. Mongo Command line
    4. Steps
    5. Use Mongo Client
    6. Implement Find All
    7. GET Single Product
    8. What is Body-Parser
    9. Configure Body-Parser
    10. Create Product
    11. Update Product
    12. Delete Product
  6. Chapter 6 : Mongoose
    1. Introduction
    2. Steps
    3. Create Project
    4. Create Server JS
    5. Create and Configure Product Controller
    6. Create Mongoose Schema and Model
    7. Create
    8. Test and Flow
    9. Read
    10. Update
    11. Delete
  7. Chapter 7 : Axios REST Client
    1. Introduction
    2. Steps
    3. Create the Project
    4. Get All
    5. Create and Update
    6. Get and Delete
  8. Chapter 8 : Integration Testing Using Mocha and Chai
    1. Mocha and Chai
    2. Steps
    3. Install Dependencies
    4. First Test
    5. Handle Failures
    6. Test Create and Get
    7. Before and After methods
  9. Chapter 9 : Refactor and Modularize the application
    1. Introduction
    2. Steps
    3. Create DB Connection
    4. Mongoose Static Methods
    5. Create the Model and DAO
    6. Create the Controller
    7. Map Routes
    8. Test
    9. Use src Folder
    10. Use Babel and ES6 Syntax
  10. Chapter 10 : Patient Clinical Data Project
    1. Use Case
    2. Create the Project
    3. Setup Configuration
    4. Create Model
    5. Implement Patient DAO
    6. Create Patient Controller
    7. Create and Configure Routes
    8. Create Clinical DAO and Controller
    9. Run and Test
    10. Fix Bug and Test
  11. Chapter 11 : Dockerize
    1. Introduction
    2. Install Docker Desktop
    3. Steps
    4. Create Dockerfile
    5. Create docker-compose.yml
    6. Docker Compose Up
  12. Chapter 12 : Deploy to AWS EC2
    1. Introduction
    2. AWS EC2 Introduction
    3. Launch an EC2 Instance
    4. Windows - Use MobaXterm and Connect
    5. Install Mongo
    6. Install Node and Git
    7. Push Project to GitHub
    8. Run the APP on EC2 and Test
  13. Chapter 13 : Create React Frontend
    1. Introduction
    2. Install React CLI
    3. Create Project
    4. Create Components
    5. Configure Routing
    6. Home Component
    7. Use State and React Hook
    8. Render Rows
    9. Enable CORS on the Node Project
    10. Test Home Page
    11. Add Patient - Create Form
    12. Handle Submit
    13. Add Clinical's - Create Form
    14. Add Clinical's - Handle Submit
  14. Chapter 14 : PostgreSQL
    1. Introduction
    2. Steps
    3. Set Up the database
    4. Set Up the Project
    5. Get All
    6. Get One
    7. Create
    8. Return After Insert
    9. Update

Product information

  • Title: NodeJS Made Easy for MEAN or MERN Stack
  • Author(s): Bharath Thippireddy
  • Release date: November 2020
  • Publisher(s): Packt Publishing
  • ISBN: 9781801076890