Hanlu's Code Log

Full-stack developer | Open source contributor | Tech enthusiast

Articles

Explore my latest technical writings covering modern web development, JavaScript frameworks, and backend technologies.

Getting Started with React Hooks

In this post, I explore the basics of React Hooks like useState and useEffect, and how they simplify state management in functional components.

Understanding JavaScript Promises and Async/Await

A deep dive into asynchronous programming in JavaScript — from callbacks to promises, and finally async/await functions for cleaner code.

Setting Up a Node.js REST API with Express

Step-by-step guide on creating a simple RESTful API using Node.js, Express, and MongoDB. Includes middleware setup and basic routing.