Yan Sun I am a full-stack developer. Love coding, learning, and writing.

Stories by Yan Sun

Understanding guards in NestJS

Understanding guards in NestJS

Dev

Learn how to create fine-grained access controls using guards in NestJS with TypeScript, and test the guards using Postman.

Yan Sun
Mar 10, 2023 ⋅ 5 min read

Phero: Build a type-safe, full-stack app with TypeScript

Dev

Phero is another TypeScript framework for building type-safe backend APIs for full-stack apps. Learn how to build with and migrate to it.

Yan Sun
Dec 21, 2022 ⋅ 7 min read
Debugging Your Backend Like a Frontend with Sidekick

Debugging your backend like a frontend with Sidekick

Dev

Learn how to debug with ease with Sidekick, a secure and lightweight, and non-intrusive debugging tool.

Yan Sun
Oct 12, 2022 ⋅ 5 min read
Comparing four NestJS ORMs

Comparing 4 popular NestJS ORMs

Dev

Make choosing your NestJS ORM easy with this detailed guide to four of the most popular options: Sequelize, TypeORM, MikroORM, and Prisma.

Yan Sun
Jun 13, 2022 ⋅ 10 min read
Investigating the Angular typed form RFC prototype

Investigating the Angular typed form RFC prototype

Dev

The infamous issue #13721 for strongly typed reactive forms in Angular is finally slated for release in Angular 14. Learn about the prototype here.

Yan Sun
Feb 8, 2022 ⋅ 7 min read
Build a serverless app with Node.js and Apache OpenWhisk

Build a serverless app with Node.js and OpenWhisk

Dev

Avoid the vendor lock-in you get with AWS and Azure and learn how to go serverless with Node.js and Apache OpenWhisk instead.

Yan Sun
Dec 17, 2021 ⋅ 7 min read
Customize Angular lazy loading modules for multiple frontends

Customize Angular lazy loading modules for multiple frontends

Dev

Learn how to maximize your code sharing and cleanly separate your different UI components and services for multiple frontend Angular apps.

Yan Sun
Nov 8, 2021 ⋅ 6 min read
Rendering dynamic content in Angular components using Angular CDK portals

Inject dynamic content in Angular components with portals

Dev

Learn how to dynamically render content in your Angular components using Angular CDK portals in this in-depth tutorial.

Yan Sun
Sep 23, 2021 ⋅ 5 min read
Type flowing: Rethinking the TypeScript typing system

Type flowing: Rethinking the TypeScript typing system

Dev

Learn how to “think with types” and use TypeScript advanced types to build strongly typed systems and make your code safer.

Yan Sun
Aug 19, 2021 ⋅ 8 min read