Blog
Here I share my coding experiments and thoughts on React.js, Next.js, Node.js, Astro, Python, DevOps, and more. Feel free to read, explore, and comment.
Github login with FastAPI and Next.js
A practical example of implementing Github OAuth in FastAPI, and why Next.js server actions and API routes are convenient for managing cookies and domains.
14 minutes
Read more
Next.js server actions with FastAPI backend and OpenAPI client
Connect Next.js to a FastAPI backend while preserving a modern React workflow with server actions and server components.
19 minutes
Read more
Why runtime environment variables for a pure static website are a bad idea
Build and deploy a static website as a reusable Docker image, and see how practical it really is.
15 minutes
Read more