Thank you for contributing!
Quick guidelines for this minimal tutorial repo:
- Open an issue for any bug or feature request.
- Keep changes small and focused — add tests when adding behavior.
- For changes that affect Docker or Compose, update
README.mdand.github/workflows/ci.ymlas appropriate. - Do not commit secrets or private keys. Use
.envand add it to.gitignore(a.env.exampleis provided).
If you're submitting a PR, include a short description and testing steps.
This repository uses Husky and lint-staged to run linters/formatters on staged files.
Because the Node app lives under app/ (a subpackage), the git hooks are installed at the repository root in the .husky/ directory.
To set up hooks locally (one-time):
- From the repository root, install dependencies for the app:
cd app
npm install- Install Husky hooks into the repo-level
.huskydirectory (run from the repository root):
npx husky install .huskyAfter that, pre-commit hooks will run automatically on git commit and will format and lint staged files.
If you prefer not to install hooks, CI will still run lint/format checks and fail the build if code is not formatted or contains lint errors.