πŸ§‘β€πŸ’» 5 Tools Every Beginner Developer Should Understand

typescript dev.to

πŸ§‘β€πŸ’» 5 Tools Every Beginner Developer Should Understand

If you're starting to build real-world apps, you'll eventually hear terms like ORM, ODM, Webhooks, Clerk, Drizzle, LocalTunnel.

Here's what they actually mean πŸ‘‡

1. Drizzle ORM πŸ—„οΈ

Drizzle helps your JavaScript/TypeScript code communicate with a SQL database without writing raw SQL everywhere.

Think:

Your code β†’ Drizzle β†’ PostgreSQL

Instead of manually writing SQL, you can work with your database using TypeScript.


2. ORM / ODM πŸ”„

ORM = Object-Relational Mapper
Used with SQL databases like PostgreSQL/MySQL.

It maps:

JavaScript/TypeScript objects ↔ Database tables

ODM = Object-Document Mapper
Usually used with NoSQL databases like MongoDB.

So:

SQL β†’ ORM
MongoDB/Document DB β†’ ODM

Drizzle is an ORM.


3. Webhook πŸ””

A webhook lets another service notify your application when something happens.

Example:

User signs up on Clerk β†’ Clerk sends webhook β†’ Your server creates the user in your database.

Instead of your app constantly asking:

β€œDid something happen?”

The service tells your app:

β€œHey, something just happened!”


4. Clerk πŸ”

Clerk handles authentication and user management for your application.

It can handle things like:

  • Sign up
  • Login
  • Email verification
  • Sessions
  • User profiles
  • Social login

So you don't have to build authentication completely from scratch.


5. LocalTunnel 🌐

Your local app normally lives at:

localhost:3000
Enter fullscreen mode Exit fullscreen mode

Other people/services on the internet can't normally access it.

LocalTunnel gives your local server a temporary public URL.

localhost:3000
       ↓
LocalTunnel
       ↓
https://something.loca.lt
Enter fullscreen mode Exit fullscreen mode

This is especially useful when testing webhooks locally.


🧠 Easy way to remember

Clerk β†’ Who are you? πŸ”
Drizzle β†’ How do I talk to my database? πŸ—„οΈ
ORM/ODM β†’ How does my code map to database data? πŸ”„
Webhook β†’ Tell me when something happens. πŸ””
LocalTunnel β†’ Let the internet reach my local app. 🌐

Source: dev.to

arrow_back Back to Tutorials