Short Pieces
Can GraphQL Call REST API?
17 June 2025
Can GraphQL call REST API? Yes! Learn the simplest way to call REST from GraphQL using axios and resolvers with real working code examples.
SQL COALESCE in Postgres: A Simple Guide
9 June 2025
A simple guide for using the SQL COALESCE function in PostgreSQL. Learn how to replace NULL values with a default value through a clear example.
SQL MAX Date: Get Latest Row with Examples
20 May 2025
Learn how to use SQL MAX() to get the latest date and most recent rows. Real SQL examples with full row extraction and MAX with GROUP BY.
How to Inner Join 3 Tables in SQL
13 May 2025
Discover how to inner join 3 tables in SQL using clear syntax and examples. Perfect for beginners and intermediate SQL users.
JavaScript Get Yesterday's Date Easily
2 May 2025
Learn how to get yesterday's date in JavaScript with simple code examples. A beginner-friendly guide using the Date object to subtract one day.
TypeScript Type Vs Interface? The Answer Is Type!
29 April 2025
Still wondering about "TypeScript Type vs Interface"? The answer is type. Learn why TypeScript type aliases are more flexible and better suited for modern development than interfaces.
How to Omit Multiple Keys in TypeScript
27 April 2025
Learn how to omit multiple keys in TypeScript with simple examples. Understand how to use Omit, Exclude, keyof, and Pick properly to create cleaner types.
How to Use satisfies in TypeScript
25 April 2025
Learn how to use the satisfies operator in TypeScript to enforce stricter type safety. See comparisons with as and extends, and explore real examples.
How to Use Discriminated Unions in TypeScript?
24 April 2025
Learn how to use discriminated unions in TypeScript to simplify complex logic, improve type safety, and enable precise type narrowing in your code.
How to Use as const in TypeScript Effectively
24 April 2025
Learn how to use as const in TypeScript to create readonly literal types, improve type safety, and write more predictable, bug-resistant code.
No posts found