Populating your source control repository

A key decision when populating your source control repository is the folder structure. Often, this reflects what is optimal for your preferred IDE and related tools. The following table shows one folder structure that you might want to consider:

Folder

Purpose

/

Keep the content of the root as clean as possible. Some key files in the root will be the sfdx-project.json and package.json (if you have Lightning Web Components) files. You might also have a README.md file, which is a common Git convention to provide important usage and documentation links. This is a simple text file that uses a simple notation syntax (known as MarkDown) to represent sections, bold, italics, and so on. Later ...

Get Salesforce Lightning Platform Enterprise Architecture - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.