JavaScript projects: Node, Express, Postgres API - Part 15 - User creation integration tests

Опубликовано: 12 Июль 2026
на канале: Coding with Stephen
50
3

Welcome to coding with Stephen, this video forms part of our Building a Node, Express, Postgres API service.

The repo for this project can be found on github here: https://github.com/BGZStephen/coding-..., if you want to follow along, download the repo and check out the branch: part-15-start

In this video, we'll be covering off the following:

Add configuration for integration tests
Add utils to support integration tests
Add our HTTP Request maker (axios)
Write some integration tests for our user creation endpoint

ISO String regular expression: /\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/