Thank you for your interest in contributing. This document explains how to get started, what to expect, and how to submit changes.
- Fork the repository on GitHub.
- Clone your fork:
git clone https://github.com/your-username/lorawan-cups-server.git cd lorawan-cups-server - Install dependencies:
npm install
- Copy
.env.exampleto.envand fill in the required values. - Create a feature branch:
git checkout -b feat/your-feature-name
Run the server in development mode (live TypeScript execution):
npm run devThis project uses ESLint and TypeScript strict mode. Pre-commit hooks (Husky + lint-staged) will block commits that fail linting or type checks.
Run checks manually at any time:
npm run eslint # lint
npm run check-types # type check
npm run lint-and-types # bothFix auto-fixable lint issues:
npm run eslint:fixPlease ensure all checks pass before opening a pull request.
- Commit your changes with a clear, descriptive message.
- Push your branch and open a pull request against
main. - Describe what the change does and why in the pull request description.
- A maintainer will review and provide feedback.
Open an issue on GitHub with a clear description of the problem, steps to reproduce, and any relevant logs or error messages.
Be respectful and constructive. We welcome contributions from everyone.