Contributing Guide
Thank you for considering contributing to this project! This guide will help you get started and ensure a smooth contribution process.
Getting Started
- Fork the repository and clone it to your local machine.
- Install dependencies:bash
npm install - Set up environment variables as described in
ENV_VARIABLES.md(if present). - Start the development server:bash
npm run dev
Coding Standards
- Use TypeScript for all code.
- Follow the existing folder and file structure (see
ARCHITECTURE.md). - Use descriptive variable and function names.
- Write clear, concise comments where necessary.
- Run the linter before committing:bash
npm run lint - Format code using Prettier (if configured):bash
npm run format
Making a Pull Request (PR)
- Create a new branch for your feature or bugfix:bash
git checkout -b feature/your-feature-name # or git checkout -b fix/your-bugfix - Make your changes and commit them with clear, descriptive messages.
- Push your branch to your fork:bash
git push origin feature/your-feature-name - Open a Pull Request against the
mainbranch of the upstream repository. - Describe your changes clearly in the PR description. Link to any related issues.
Code Review Process
- All PRs require at least one approval before merging.
- Address all review comments and suggestions.
- Keep PRs focused and as small as possible.
- Squash commits if requested by reviewers.
Running Tests & Lint
- Lint:bash
npm run lint - Tests:bash
npm run test - Ensure all tests pass before submitting a PR.
Proposing Features or Bug Fixes
- Open an issue describing the feature or bug.
- Provide as much detail as possible (screenshots, steps to reproduce, etc.).
- Wait for feedback before starting major features.
Thank you for helping make this project better!