Building REST API Endpoints in Node.js and Express: Routes, Controllers, and Best Practices
How I structure an Express REST API on Node 10: routes, Joi validation, thin controllers, services and correct…
Category
Backend development is the server-side work behind an application: APIs, business logic, databases, queues and background jobs. Backend engineers pick languages such as Java, Python, Node.js or C#, decide how data is stored and how services talk to each other, and keep it all fast and correct under load. Most of the hard calls are trade-offs, such as SQL against NoSQL or a monolith against microservices.
177 articles
How I structure an Express REST API on Node 10: routes, Joi validation, thin controllers, services and correct…
Express is an amazing framework. We can start running a server by writing only 4 lines of code.…
SQL vs NoSQL decided on real constraints: what relational databases guarantee, the types of nosql databases, when to…
How do database indexes work: the b tree index, clustered vs non clustered indexes, composite index column order,…
Sharding vs replication compared: what each mechanism scales, when replication is enough, when to shard, and why production…
Database sharding explained: range, hash, directory, and geographic strategies, choosing a shard key, hot shards, cross-shard queries, and…
Database replication explained: leader-follower, multi-leader, and leaderless topologies, synchronous vs asynchronous trade-offs, replication lag, and the failover failure…
So, you’ve just launched your shiny new WordPress website. The theme is perfect, the copy is polished, and…
What an API gateway does (routing, authentication, rate limits, transformation) how it differs from a reverse proxy and…