Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
NodeJS Rest-ExpressJS Mongodb-Jest javascript Unit/Int Test
Rating: 4.2 out of 5(40 ratings)
2,505 students

NodeJS Rest-ExpressJS Mongodb-Jest javascript Unit/Int Test

Learn NodeJS by developing REST API/ExpressJS webserver with Mongodb. Master Jest to do unit/integration/mutation tests
Created byRobin Paul
Last updated 7/2020
English
English [Auto],

What you'll learn

  • You will develop a web framework from scratch using ExpressJs
  • You will store your information in a mongo db server in AWS
  • This is a course to master Jest Test Framework , Express JS and NodeJS programming.
  • Lot of focus on Jest , How to stub public and private functions , class, mock promise and rejections etc
  • You will learn about test methodologies , live Unit test coding
  • You will do integration tests using supertest package , integration jwttokens , hashing secure information
  • Know about test automation for REST APIs using Jest and Postman

Course content

6 sections59 lectures7h 27m total length
  • Introduction to the course1:27

    Introduce Node.js back-end development using REST with Express.js, MongoDB integration, and Jest-powered unit and integration tests, while illustrating non-blocking, single-threaded concepts in practical server scenarios.

  • Know about NodeJS5:38

    Discover how NodeJS enables server-side JavaScript by using the V8 engine, extending browser JavaScript into back-end applications with non-blocking I/O and a single-thread model.

  • Set Up Your environment - Install Node and Visual StudioCode2:55

    Set up Node and Visual Studio Code, verify the Node installation, and create a Node project folder on the desktop to begin building with Express, MongoDB, and Jest unit tests.

  • Run Your First NodeJS program4:32

    Create your first JavaScript file in a node project with a .js extension, run it with node, and print results with console.log while exploring const, let, booleans, strings, and objects.

  • Node Programming Fundamentals2:41

    Explore function definitions and invocations in JavaScript, compare let and var for variable scope, and examine how scope inside and outside for loops affects access.

  • Working with JSON8:29

    Learn to work with JSON objects by parsing and stringifying payloads and accessing nested keys. Practice immutable updates with copies and the spread operator to avoid mutating originals.

  • How to Debug program1:50

    Set breakpoints with the red button, start debugging, and step through code to inspect variables and program state. Use console logs to understand values and observe changes as execution proceeds.

  • Functions in detail6:07

    Learn how to define and call functions in Node.js by creating add and sub, using private and public scope, exporting with module.exports, and requiring in tests.

  • Public and Private Functions2:24

    Explore how public and private functions interact in unit tests, including exporting and calling private functions from tests, and observe test execution order from top to bottom.

  • Node is Asynchronous & Non Blocking4:34

    Explore asynchronous and non-blocking behavior in Node.js, contrasting a blocking function sequence with unblocking examples. Learn how a single-threaded main thread executes functions a, b, and c.

  • Power of Asynchronous programming12:47

    discover how blocking code slows programs and how non-blocking, asynchronous patterns using setTimeout, the event queue, and callbacks let a single thread handle time-consuming tasks efficiently.

  • Callback Functions2:51

    Pass a callback to A, B, and C to execute in sequence, enabling non-blocking behavior; use a web app example that notifies the main thread when images finish downloading.

  • Callback Chaining3:14

    Chain callbacks to run A, then B, then C in order by passing a callback to A that triggers B, and B's callback triggers C.

  • Callback Chaining Continued...2:01

    Explore how callbacks are passed to main processing functions, invoked when tasks finish, and why callback chaining becomes hard, leading to promises that simplify asynchronous code in node.js contexts.

  • Promises replacing Callbacks8:05

    Replace callback logic with promises in a node.js workflow by wrapping functions in new promise, using resolve and reject, and chaining a, b, and c with then and catch.

  • Async & Await5:53

    Explore converting synchronous-like calls into asynchronous flows with promises and async/await, and learn to run A, B, and C in sequence without blocking.

  • Promises in Real World Scenarios7:25

    Explore real-world promise workflows: login returns a token, fetches video lists, and retrieves video details with non-blocking delays, and learn promise chaining with then.

  • Introduction to Jest Test Framework31:19

    Explore testing with the Jest framework by validating callback and promise based functions, using expect assertions, and applying setup and teardown via beforeEach, beforeAll, and related hooks.

Requirements

  • If you are interested in programming , this is the course for you. Knowledge about Nodejs is an advantage but not a necessity

Description

A great course to learn NodeJS programming by developing the Express JS web server.

Ultimate course to learn Jest Test Framework

Integrate web server with mongodb database in the cloud.

I focus on Jest Test Framework a lot and you will master in no time.

Learn the tricks to use the Jest test tool to create HTML reports, code coverage, stub/mocking, unit test.

We will add a lot of unit and integration tests, code coverage tools

Integration test using supertest.

Live programming and learn along the course, more than 7 hours of video content.

Protecting endpoints using jwt tokens , how to do mutation tests using stryker

Learn about Test Concepts and Test Driven Development (TDD).

& you can expect the Best Student Support...


If you dont like the course , of course you get the money back for 30 day time


Some Reviews:

1.Instructor is really amazing as he is repeating the same type of "expect" almost in every place giving us more practice and sometime add new "expect" to show us that we can put any number of jest expectations. Instead of showing all the different types of tests he is showing a similar pattern type. Advantage of this is that after completing the course people will know and remember that they need to test in a similar way and get more knowledge out of it. Thank you Robin for this amazing course.

2. After those lessons, I was able to create a Shop API of my own design and to fully test it, thus I recommend this course. Instructor would reply my questions within hours. I also enjoy when instructors make mistakes, read the logs with us and fix it, so we are more prepared to deal with problems of our own. I would say that some previous postman and javascript knowledge is required to fully enjoy this course, although not strictly necessary.

3.Excellent course! The instructors errors along the way actually teach real world troubleshooting experience. This course advanced my understanding of unit testing as a development tool.

4.Excellent course! The instructors errors along the way actually teach real world troubleshooting experience. This course advanced my understanding of unit testing as a development tool.

5.instructor is really amazing as he is repeating the same type of "expect" almost in every place giving us more practice and sometime add new "expect" to show us that we can put any number of jest expectations. Instead of showing all the different types of tests he is showing a similar pattern type. Advantage of this is that after completing the course people will know and remember that they need to test in a similar way and get more knowledge out of it. Thank you Robin for this amazing course.

Who this course is for:

  • Developers and Testers interested to know about Jest , NodeJS, Rest API developement/testing , Postman