Hiking-Logbook

πŸ“˜ Hiking Logbook – Standards Documentation

This document defines the rules, conventions, and quality standards to ensure the Hiking Logbook project remains consistent, maintainable, and professional.
It serves as the β€œHow We Work” manual for all contributors.

⚠️ Note:
These standards are living rules and may evolve as the project grows.
Updates will be tracked through Git commits.


1. Coding Standards

Language Style

Naming Conventions

Error Handling & Logging

Commenting & Documentation


2. Commit Conventions

We follow Conventional Commits:

Type Example Commit Message
feat feat: add user login functionality
fix fix: correct typo in dashboard
docs docs: update API README
test test: add unit tests for hike module
chore chore: update dependencies
refactor refactor: simplify hike calculation logic

Rules:


3. Git Methodology

Branching Strategy

We are using Gitflow branching model which contains:

Pull Requests (PRs)


4. Testing Standards


5. Documentation Standards

GitHub Pages


6. Branch Rules & CI Pipeline

Main Branch

Dev Branch

CI/CD Pipeline


7. Developer Setup

Tools

Workflow Before Commit

  1. Run npm run lint
  2. Run npm run lint:fix
  3. Run npm run format
  4. Run tests with npm test
  5. Commit changes following Conventional Commits

IDE Setup


Purpose

These standards ensure that: