Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHT Product Template Repository

This is a template repository for CHT Products. You can generate a new repository with the same directory structure and files as in this repository.

Create a repository from this template

When creating a new repository under the Medic organization, select cht-repo-template as a template to use for the new repository.

You can also create a repository directly from the template by following the steps here.

Note: You can read more about CHT Product repositories in the CHT documentation.

Existing default configurations

  • The main branch is locked via branch protection rules.
  • Merges are done through PRs.
  • Automatically delete head branches.
  • Issue templates exist.
  • PR template exists.
  • PRs reference related issues.
  • Commit formats follow the guidelines. More info about linting Git commit messages with Husky here.
  • The following files exist:
    • LICENSE specifying AGPL-3.0 (example)
    • README.md
  • The PR template contains a code review checklist.
  • A reviewer for a PR merge is enforced by policy.
  • A linter is set up. Here's more info on how to use the eslint configurations.

The PR and issue template content can be adjusted according to the product's purpose.

Additionally, the person who creates the repository might need to share repository access with appropriate teams (this may require admin access).

Items to consider when developing the CHT Product

To ensure quality, the CHT Products should also follow the guidelines below:

CI/CD

  • Repository runs GitHub Actions CI with automated build and test on each PR.

Testing

  • Unit tests and successful builds for PR merges are set up.
  • Unit tests cover the majority of the code.
  • If applicable, integration tests run to test the solution e2e.

Observability

  • Application faults and errors are logged.
  • Logging configuration can be modified without code changes (eg: verbose mode).

About

Template repository for CHT Products

Resources

Code of conduct

Stars

0 stars

Watchers

11 watching

Forks

Releases

Packages

Used by

Contributors

Languages