What Is A Repository?


The word repository in software development is used to describe many different things. In almost all cases, it refers to storing and accessing some form of data.

In this write-up, we will talk about two definitions:

Code Repository

This refers to the resting place of a codebase, usually on a server with an inbuilt backup.

For example, the NodeJS codebase can be found in a GitHub Repository [↗].

Developers can get the latest version of NodeJS from this repository.

Repository Pattern (Design Patterns)

This is a coding pattern where code used to access data is abstracted from other parts of the codebase.

This is a widely adopted pattern within the Java [↗] community.

Here is another article you might like 😊 "What Is A Runtime?"