diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..b38be91 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,39 @@ +--- +name: Bug Report +about: Report a bug to help us improve +title: "[Bug]: " +labels: bug +assignees: "" +--- + +## Description + +A clear and concise description of the bug. + +## Steps to Reproduce + +1. Go to '...' +2. Click on '...' +3. See error + +## Expected Behavior + +A clear description of what you expected to happen. + +## Actual Behavior + +A clear description of what actually happened. + +## Screenshots + +If applicable, add screenshots to help explain the issue. + +## Environment + +- **OS:** [e.g., macOS 14, Ubuntu 22.04] +- **Node.js version:** [e.g., 22.x] +- **Browser:** [e.g., Chrome 120] + +## Additional Context + +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..2925077 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,23 @@ +--- +name: Feature Request +about: Suggest an idea for this project +title: "[Feature]: " +labels: enhancement +assignees: "" +--- + +## Problem + +A clear and concise description of the problem or limitation you're experiencing. + +## Proposed Solution + +A clear and concise description of what you'd like to see implemented. + +## Alternatives Considered + +A description of any alternative solutions or features you've considered. + +## Additional Context + +Add any other context, mockups, or screenshots about the feature request here. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..ec755ab --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,49 @@ +# Contributing to Arc Commerce + +Thank you for your interest in contributing to Arc Commerce! We welcome contributions from the community. + +## Getting Started + +1. Fork the repository +2. Clone your fork locally +3. Create a new branch for your changes +4. Make your changes +5. Submit a pull request + +## Development Setup + +```bash +# Install dependencies +npm install + +# Copy environment variables +cp .env.example .env.local + +# Start local Supabase (requires Docker) +npx supabase start +npx supabase migration up + +# Start the development server +npm run dev +``` + +## Pull Request Process + +1. Ensure your code follows the existing code style and passes linting (`npm run lint`). +2. Update documentation if your changes affect the public API or user-facing behavior. +3. Write clear, descriptive commit messages using [Conventional Commits](https://www.conventionalcommits.org/). +4. Keep pull requests focused — one feature or fix per PR. +5. Include a clear description of what your PR does and why. + +## Reporting Issues + +- Use the [bug report template](.github/ISSUE_TEMPLATE/bug_report.md) for bugs. +- Use the [feature request template](.github/ISSUE_TEMPLATE/feature_request.md) for new ideas. + +## Code of Conduct + +Please be respectful and constructive in all interactions. We are committed to providing a welcoming and inclusive experience for everyone. + +## License + +By contributing, you agree that your contributions will be licensed under the [Apache License 2.0](LICENSE).