Building APIs doing Outside-In TDD in Node and Typescript
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
- 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
Who Should Attend
- Developers with certain experience writing code
- Developers with certain experience writing tests
- Developers with certain experience practicing TDD
Target Audiences
- Developers with certain experience writing code
- Developers with certain experience writing tests
- Developers with certain experience practicing TDD
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
- 1 stars: 0 votes
- 2 stars: 1 votes
- 3 stars: 1 votes
- 4 stars: 4 votes
- 5 stars: 4 votes
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!
You may also like
- Top 10 Video Editing Courses to Learn in November 2024
- Top 10 Music Production Courses to Learn in November 2024
- Top 10 Animation Courses to Learn in November 2024
- Top 10 Digital Illustration Courses to Learn in November 2024
- Top 10 Renewable Energy Courses to Learn in November 2024
- Top 10 Sustainable Living Courses to Learn in November 2024
- Top 10 Ethical AI Courses to Learn in November 2024
- Top 10 Cybersecurity Fundamentals Courses to Learn in November 2024
- Top 10 Smart Home Technology Courses to Learn in November 2024
- Top 10 Holistic Health Courses to Learn in November 2024
- Top 10 Nutrition And Diet Planning Courses to Learn in November 2024
- Top 10 Yoga Instruction Courses to Learn in November 2024
- Top 10 Stress Management Courses to Learn in November 2024
- Top 10 Mindfulness Meditation Courses to Learn in November 2024
- Top 10 Life Coaching Courses to Learn in November 2024
- Top 10 Career Development Courses to Learn in November 2024
- Top 10 Relationship Building Courses to Learn in November 2024
- Top 10 Parenting Skills Courses to Learn in November 2024
- Top 10 Home Improvement Courses to Learn in November 2024
- Top 10 Gardening Courses to Learn in November 2024