All Blog Posts in the NodeJS Category

GitHub Actions for Dynamic Cross-Platform Testing

Automate cross-platform testing with GitHub Actions, using dynamic matrices for efficient, targeted tests.

Read More

Explore Mocking In Node.js Using Sinon

Unit testing and mocking in Node.js with Sinon, get familiar with basic Spies, Stubs, Fakes, and Mocks, concepts.

Read More

API Validation with AJV and Json Schema

AJV & Json Schema, a generic yet effective method for JavaScript API request validation

Read More

You Should Really Use Map When Possible

The advantages of using Map in JavaScript over other Data Types

Read More

Using Secrets or Private Environment Variables? .env is the Answer

How can we hide API keys, secrets and passwords in our code, especially if pushing our code to an external repository? How can we run an applicati ...

Read More

Leverage Rewire for Unit Testing in Node.js

Unit testing in Node.js can be challenging. After trying various libraries, I found Rewire to be the most practical for testing purposes

Read More