Skip to main content
Version: 1.0.0

Codebase

A codebase refers to the entire collection of source code and configuration files for a software project or application. The codebase contains all of the code and files needed to build, test, deploy and run the application. It is usually stored in a version control system like Git which tracks changes over time.

The codebase is made up of things like application code, libraries, frameworks, build and configuration files, tests, documentation etc. For example, a Python web application's codebase would include the Python source files, HTML templates, CSS files, unit tests, requirements.txt, Dockerfiles, Kubernetes YAML manifests and other infrastructure code. The developers on a team collaborate on the same codebase, making changes and additions that get versioned. A good practice is to keep the codebase modular with clear separation of concerns. The codebase evolves over the lifetime of a project as features get added, bugs fixed and refactoring is done. Proper codebase management and organization is important for an efficient devops workflow.