Building APIs doing Outside-In TDD in Node and Typescript
- Development
- May 02, 2025

Building APIs doing Outside-In TDD in Node and Typescript, available at $49.99, has an average rating of 4.3, with 21 lectures, based on 10 reviews, and has 161 subscribers.
You will learn about 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 This course is ideal for individuals who are Developers with certain experience writing code or Developers with certain experience writing tests or Developers with certain experience practicing TDD It is particularly useful for Developers with certain experience writing code or Developers with certain experience writing tests or Developers with certain experience practicing TDD.
Enroll now: Building APIs doing Outside-In TDD in Node and Typescript
Summary
Title: Building APIs doing Outside-In TDD in Node and Typescript
Price: $49.99
Average Rating: 4.3
Number of Lectures: 21
Number of Published Lectures: 21
Number of Curriculum Items: 21
Number of Published Curriculum Objects: 21
Original Price: 139.99
Quality Status: approved
Status: Live
What You Will Learn
Who Should Attend
Target Audiences
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.
Kudos to @Panos for the constructive feedback that helped to make this course better.
Course Curriculum
Chapter 1: Introduction
Lecture 1: Introduction to the Course
Chapter 2: Problem Presentation and Project Initialization
Lecture 1: Problem presentation
Lecture 2: The OpenAPI Specification (OAS) File
Lecture 3: Project Initialization
Chapter 3: Retrieve Data from the system
Lecture 1: First Red Acceptance Test
Lecture 2: First Green Acceptance Test
Lecture 3: Refactor I
Lecture 4: Extending the Controller and the ErrorHandler
Lecture 5: Refactor II
Lecture 6: Secret Retriever Service
Lecture 7: Secret Repository
Lecture 8: Pass Get Secrets Acceptance Tests
Lecture 9: Uncontrolled Errors
Chapter 4: Store data from the system
Lecture 1: Write the first failing acceptance test
Lecture 2: Implement the controller
Lecture 3: The Secret Storer service
Lecture 4: Token Generator
Lecture 5: Extending the Secret Repository
Lecture 6: Unhandled Errors
Lecture 7: Refactor III
Chapter 5: End To End Testing with Jest and supertest
Lecture 1: Write End to End (e2e) Tests
Instructors

Josep Mir
Software Engineer/ Software Crafter
Rating Distribution
Frequently Asked Questions
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!
- Random Picks
- Popular
- Hot Reviews
- NEW Splunk Certified Administrator 2022 Practice Questions
- Youtube Marketing 2020- How to become Famous on Youtube
- Life Insurance Annuity Ultimate Buyer’s Guide
- 3DS Max Tutorial. Learn The Art of Modelling and Animation
- Crypto Trading Mastery (Scalping, Day trading, price action)
- Personal Finance
- Dibuja y Esculpe tu COVID para Impresión 3d en Blender 2.8X
- Canva Next Level- Become a Canva Expert
- 1YouTube Masterclass The Best Guide to YouTube Success
- 2Photoshop CC- Adjustement Layers, Blending Modes Masks
- 3Personal Finance
- 4SolidWorks Essential Training ( 2023 2024 )
- 5The Architecture of Oscar Niemeyer
- 6Advanced Photoshop Manipulations Tutorials Bundle
- 7Polymer Clay Jewelry Making Techniques for Beginners
- 8SEO for Web Developers
- 1Linux Performance Monitoring Analysis Hands On !!
- 2Content Writing Mastery 1- Content Writing For Beginners
- 3Media Training for PrintOnline Interviews-Get Great Quotes
- 4Learn Facebook Ads from Scratch Get more Leads and Sales
- 5The Complete Digital Marketing Course Learn From Scratch
- 6C#- Start programming with C# (for complete beginners)
- 7[FREE] How to code 10 times faster with Emmet
- 8Driving Results through Data Storytelling