Typescript Async/Await in Node JS with testing
3.6 (13 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
558 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Typescript Async/Await in Node JS with testing to your Wishlist.

Add to Wishlist

Typescript Async/Await in Node JS with testing

Learn new async programming with Typescript and easy integration testing with mocha. Express integration and Sequelize
3.6 (13 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
558 students enrolled
Created by Mr Ayerhan Afa
Last updated 4/2016
English
Current price: $10 Original price: $25 Discount: 60% off
1 day left at this price!
30-Day Money-Back Guarantee
Includes:
  • 3 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Have a coupon?
What Will I Learn?
setup nodejs with typescript
use typescript async await features to do async programing
reduce callback hell
understand how async await uses promises
write simple integration test with mocha
View Curriculum
Requirements
  • students need to have Node.js installed and know a little about Node.js
Description

This course would teach you how to have a good mental model doing async programing in node.js leveraging typescript async await EcmaScript 7 (ES7) feauture.

you would also learn the build blocks of async/await which is Promise

Unit testing with mocha would be setup.

This course would teach you how to test rest api. with postman and later automate it with mocha unit test using supertest and an assetion library such as Should.js

Mongoose and mongodb would used and also setup interface for mongoose models in Typescript

getting acquinted with typescript

This course is structured in a way that it can get you up to speed with applying Typescript to Node.js.

you would also learn some Express.js basics and middlewares

you should take this course if you have started learning node.js or want to bring type safety to your Node.js app with Typescript or you want to learn how to use the beautiful async/await syntax to write more maintable code. this course also makes use of mongoose mongodb. so you would also learn how to use mongoose with typescript

Who is the target audience?
  • this course is meant for people who have started learning Nodejs or Typescript or want to improve there async programming skills in Nodejs
Students Who Viewed This Course Also Viewed
Curriculum For This Course
Expand All 21 Lectures Collapse All 21 Lectures 03:02:28
+
Intro and installations
5 Lectures 23:53
+
Express js and Models
3 Lectures 43:23
setting up express app and basic routing
20:53

setting up Mongoose and bodyParser
12:42

User Mongoose Model and Signup Route
09:48
+
Authentication and AuthMiddleware
3 Lectures 33:35
Signing in and session creation
14:22

Authentication Middleware
14:06

Getting current Authenticated User
05:07
+
Testing
5 Lectures 47:40
Integration test with Mocha and supertest
15:47

setting up npm script and using should.js assertion
06:40

testing signin route
09:09

testing signin with wrong password
05:23

testing me and setting headers in supertest
10:41
+
Promise and Async/await basics
3 Lectures 21:58
Basics of Promises
09:23

Mongoose and Promises
04:50

basic async/await
07:45
+
Async/Await
2 Lectures 11:59
more async/await and refactoring signin
08:09

me route refactored to async/await
03:50
About the Instructor
Mr Ayerhan Afa
3.6 Average rating
13 Reviews
558 Students
1 Course
Web Developer and Engineering Student

I'm Web Developer and a computer engineering student had been programing and using Node.js ever since it began gain popularity few years ago. Started in strongly typed language C# and fell in Love with Typescript in order to have both the beauty of c# and Javascript together. as an engineering student and web developer exprimenting with new ideas, frameworks and programing languages is my main focus. I have exprience on front end with React, Redux, and AngularJs