Building REST API with Express, TypeScript - Part 4: Jest and unit testing
Learn how to setup Jest in Express and TypeScript server to test code. Add unit tests for the REST APIs controller and mock database to test repositories. Setup Github Actions to run tests.
Building REST API with Express, TypeScript - Part 3: PostgreSQL and TypeORM
Learn how to connect PostgreSQL database from Express and TypeScript REST API server using TypeORM. Create TypeORM models and repositories.
Building REST API with Express, TypeScript - Part 2: Docker Setup
Learn how to dockerize REST API server built with Express and TypeScript. Create a development image with auto restart on code changes and a lean production image with multi-staged build
Building REST API with Express, TypeScript and Swagger
How to build REST API server with Express & TypeScript, and auto-generate OpenAPI documentation with Swagger