Disclosure: when you buy through links on our site, we may earn an affiliate commission.

Building APIs doing Outside-In TDD in Node and Typescript

A practical example on how to build REST API doing Outside-In TDD in Node, Typescript and Jest (express and mongodb)
(1 reviews)
11 students
Created by


CourseMarks Score®







Platform: Udemy
Video: 5h 17m
Language: English
Next start: On Demand

Top TDD Test Driven Development courses:

Detailed Analysis

CourseMarks Score®

9.7 / 10

CourseMarks Score® helps students to find the best classes. We aggregate 18 factors, including freshness, student feedback and content diversity.

Freshness Score

10.0 / 10
This course was last updated on 12/2021.

Course content can become outdated quite quickly. After analysing 71,530 courses, we found that the highest rated courses are updated every year. If a course has not been updated for more than 2 years, you should carefully evaluate the course before enrolling.

Student Feedback

9.5 / 10
We analyzed factors such as the rating (5.0/5) and the ratio between the number of reviews and the number of students, which is a great signal of student commitment.

New courses are hard to evaluate because there are no or just a few student ratings, but Student Feedback Score helps you find great courses even with fewer reviews.

Content Score

9.0 / 10
Video Score: 8.4 / 10
The course includes 5h 17m video content. Courses with more videos usually have a higher average rating. We have found that the sweet spot is 16 hours of video, which is long enough to teach a topic comprehensively, but not overwhelming. Courses over 16 hours of video gets the maximum score.
Detail Score: 9.0 / 10

The top online course contains a detailed description of the course, what you will learn and also a detailed description about the instructor.

Extra Content Score: 9.5 / 10

Tests, exercises, articles and other resources help students to better understand and deepen their understanding of the topic.

This course contains:

0 article.
2 resources.
0 exercise.
0 test.

Table of contents


In this course we will implement a REST API in Node with express and typescript. We will store data in a mongodb database using mongoose. In order to implement this REST API, we will receive an OpenAPI Specification (OAS) file that will be the base to design and build our application.

The API we are going to build is a clone of the One Time Secret site. We will create an application that stores our secrets and provides us a URL to access them later, but with the condition that we can access that URL one time only. Whenever we attempt to retrieve the same secret again, hitting the same URL for a second time, we will receive an error.

Given that we already know how the public interface would look like with the OpenAPI Specification file provided, we will be using Test Driven Development (TDD) but following an Outside-In approach, also known as mockist approach or London School TDD. We will start writing the acceptance criteria tests, keeping them in red, we will start the double cycle and write unit tests for the inner components. That way we will build our way inside the application, one level at a time until we can make the acceptance test completely pass. While coding, even though we already have a quite clear direction of our application design, we will try to get inspired with DDD, Hexagonal Architecture and CQRS.

You will learn

✓ Build REST API in Node and TypeScript
✓ Test with Jest framework
✓ Outside-in TDD approach a.k.a. mockist a.k.a. London school TDD
✓ Test doubles, mocks, spies, stubs, fakes and dummies
✓ Docker
✓ Mongo MongoDB Mongoose
✓ Node and Express


• Familiar with Node, Express and Typescript
• Familiar writing tests
• Familiar with docker and mongodb

This course is for

• Developers with certain experience writing code
• Developers with certain experience writing tests
• Developers with certain experience practicing TDD

How much does the Building APIs doing Outside-In TDD in Node and Typescript course cost? Is it worth it?

The course costs $12.99. And currently there is a 85% discount on the original price of the course, which was $84.99. So you save $72 if you enroll the course now.

Does the Building APIs doing Outside-In TDD in Node and Typescript course have a money back guarantee or refund policy?

YES, Building APIs doing Outside-In TDD in Node and Typescript has a 30-day money back guarantee. The 30-day refund policy is designed to allow students to study without risk.

Are there any SCHOLARSHIPS for this course?

Currently we could not find a scholarship for the Building APIs doing Outside-In TDD in Node and Typescript course, but there is a $72 discount from the original price ($84.99). So the current price is just $12.99.

Who is the instructor? Is Josep Mir a SCAM or a TRUSTED instructor?

Josep Mir has created 3 courses that got 5 reviews which are generally positive. Josep Mir has taught 36 students and received a 4.2 average review out of 5 reviews. Depending on the information available, Josep Mir is a TRUSTED instructor.
Software Engineer/ Software Crafter
Spent quite a few years at University getting a:

– Computer Science Degree

– Master in Informatics Engineering

– European Master in Software Engineering

Before that, during, and after also spend some time doing:

~15 years writing code

~10 years professional experience

~ 5 years XP practitioner

Managed to collaborate from early stage startups to world wide companies, as well as international consultancy companies offering services to multiple customers. Also, in the meanwhile, did several pet projects.

Show more


CourseMarks Score®







Platform: Udemy
Video: 5h 17m
Language: English
Next start: On Demand

Students are also interested in

Review widget (for course creators):

Building APIs doing Outside-In TDD in Node and Typescript rating
Code for the widget (just copy and paste it to your site):
<a href="https://coursemarks.com/course/building-apis-doing-outside-in-tdd-in-node-and-typescript/" target="_blank" title="Building APIs doing Outside-In TDD in Node and Typescript on Coursemarks.com"><img border="0" src="https://coursemarks.com/widget/97.svg" width="200px" alt="Building APIs doing Outside-In TDD in Node and Typescript rating"/></a>