Seeding a database
A guide to seeding databases for backend testing, covering methods like create vs. insertMany and when to use each.
Zell Liew is a front-end developer, writer, and creator known for deep, practical explorations of CSS, JavaScript, accessibility, and modern web tooling. His work blends thoughtful technical guidance with personal reflections on life, work, and growth, and is frequently featured on CSS-Tricks and Splendid Labz.
291 articles from this blog
A guide to seeding databases for backend testing, covering methods like create vs. insertMany and when to use each.
A guide on setting up Jest with Mongoose for testing Node.js backend applications, including database connections and cleanup.
A guide to setting up and writing endpoint tests for an Express.js application using the Jest testing framework and Supertest.
A tutorial on setting up a local MongoDB database, covering installation, starting the server, and basic operations using the Mongo Shell and Compass.
A developer's reflection on the fundamental differences between frontend and backend development, focusing on user perception vs. system communication.
A guide to implementing a Flexbox fallback for a CSS Grid calendar, covering three methods and browser support considerations.
A tutorial on building a functional calendar layout using CSS Grid, covering HTML structure and grid placement techniques.
How to fix formatting conflicts when integrating JavaScript Standard Style with VS Code by disabling the default formatter.
Interview with hiring expert Chris Lienert on the developer job application process, covering CV writing, interview prep, and key strategies.
A developer discusses the importance of constructive advocacy in tech communities, focusing on respectful communication over shaming.
Explains the 'callback hell' problem in JavaScript and provides four practical solutions to manage nested callbacks effectively.
Explains common pitfalls and best practices for using async/await within different types of loops in JavaScript.
Explores a new CSS method using opacity and pointer-events to hide content visually while keeping it accessible to screen readers and keyboard users.
A guide to using async/await in JavaScript, covering syntax, promises, error handling, and common pitfalls for developers.
A guide to writing and publishing JavaScript packages that work in both browser and Node.js environments, covering module patterns and setup.
Explains three methods to control which files are included in an npm package: .gitignore, .npmignore, and the files property.
Explains the optimal timing for running `npm init` in open-source projects to automatically generate helpful metadata links in package.json.
A guide to publishing npm packages following industry best practices, covering account setup, package creation, and advanced publishing techniques.
A guide explaining what JSDelivr is, how it works as a CDN for JavaScript libraries, and when and how to use it in web projects.
A frontend developer shares their personal CSS reset preferences, detailing eight categories of custom styles used alongside Normalize.css.