whchi

whchi @whchi

Location:
Taiwan
Joined:
Jul 26, 2022

whchi
articles - 21 total

Introduction to access control model: ACL, RBAC, ABAC

In system design, access control is a critical mechanism to ensure data security and correct...

Learn More 0 0May 6

Setting up TLS connection for containerized PostgreSQL database

When connecting your database to external services, especially SaaS platforms, you often can't...

Learn More 4 0Feb 24

Setting up TLS connection for containerized PostgreSQL database

When you need to allow external connections to your database while keeping costs low, encrypting the...

Learn More 1 0Feb 22

Integrate Self-host Infisical into your NestJS project

Why centralized secret management is necessary In modern software development, especially...

Learn More 4 0Sep 11 '24

Enhance your python code security using bandit

In the constantly evolving realm of technology, ensuring the security of your code is also an...

Learn More 5 0Feb 29 '24

Speed up your pull request review with CodiumAI PR agent

Pull Request (PR) is an essential process in software development that ensures code quality and...

Learn More 4 0Dec 12 '23

Mocking Async API Calls in FastAPI Tests

When engaging in software development, there is often a need to send SMS, emails, or make API calls...

Learn More 8 2Dec 2 '23

Reading notes | Software Engineer-The Soft Part

This is a very pragmatic book, and it is also quite thin. The author is Addy Osmani, the person in...

Learn More 0 0Oct 20 '23

Localize your FastAPI validation message

When working on website frontend development, a significant amount of time is spent on handling form...

Learn More 2 0Aug 17 '23

Nginx setup for Next.js subdomain routing

Don't do it unless you can 100% control your nginx In this article, I will guide you through the...

Learn More 3 0Aug 12 '23

Protect your FastAPI document with HTTP basic authN

When working in enterprise with frontends as a backend engineer, it common to deploy a staging(test)...

Learn More 1 0Aug 9 '23

Deploy a minimal k8s environment to your local machine.

Web development are becoming more complex nowadays, especially when it's comes to deployment. In...

Learn More 12 0Aug 6 '23

Testing FastAPI with async database session

Get started FastAPI uses Python's asyncio module to improve its I/O performance....

Learn More 22 10Jul 23 '23

Simple way to make i18n support with FastAPI

When dealing with i18n, the most common way is to add middleware to detect the specific locale in the...

Learn More 9 0Jul 10 '23

Mock your service as fixture in pytest

Summary Mock all your service's method with patch code assume you have a jwt...

Learn More 1 0Jun 5 '23

Setup FastAPI Debugger in PyCharm With Docker

The key is running only 1 worker when start uvicorn Content For local Python app...

Learn More 3 0Jun 3 '23

RefreshDatabase in pytest

When writing tests, there is an important concept called "unit of work," which states that every test...

Learn More 3 0Jun 3 '23

How to implement Laravel's whenLoaded function in Ruby on Rails

The ORM library in Laravel provides support for a conditional loading association method known as...

Learn More 1 0May 18 '23

How to use process.env in Vite

The process object is a global object that is exclusive to the Node.js environment, and therefore...

Learn More 54 15Apr 6 '23

How to restrict json api response format with python

summary Always use pydantic module content API design can be a challenging...

Learn More 1 0Mar 11 '23

Disable SQLModel foreign key constraint

When writing tests, you should follow the unit-of-work principle, which means separating data with...

Learn More 2 0Mar 6 '23