Skip to content

The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.

Add community files and GitHub templates (#721)

Viktor Holikdf1525f49a83
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 000000000..0ec75fd4a
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,33 @@
+---
+name: Bug report
+about: Report a defect or regression in Mercur
+title: "bug: "
+labels: bug
+assignees: ""
+---
+
+## Summary
+
+Provide a clear description of the bug.
+
+## Steps to reproduce
+
+1. …
+
+## Expected result
+
+Describe what you expected to happen.
+
+## Actual result
+
+Describe what actually happened, including screenshots or logs if helpful.
+
+## Environment
+
+- Branch: `new` / other?
+- Module or area:
+- Browser/Runtime:
+
+## Additional context
+
+Add any other context or information that could help us diagnose the issue.
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 000000000..3ba13e0ce
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1 @@
+blank_issues_enabled: false
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
new file mode 100644
index 000000000..9a8cd9d6a
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -0,0 +1,15 @@
+---
+name: Feature request
+about: Suggest an enhancement for Mercur
+title: "feat: "
+labels: feature
+assignees: ""
+---
+
+## Proposed solution
+
+Describe the change you would like to see, including any UI or API impacts.
+
+## Additional context
+
+Add links, mockups, or technical notes that will help evaluate the idea.
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644
index 000000000..23947f286
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,21 @@
+## Summary
+
+Provide a concise description of the problem and the proposed solution.
+
+## Changes
+
+- bullet the key code or documentation updates
+
+## Testing
+
+List the tests or commands you ran to validate the change.
+
+## Checklist
+
+- [ ] This pull request targets `new`.
+- [ ] I updated documentation, locales if the change requires it.
+- [ ] I added or adjusted tests that cover the change.
+
+## Linked issues
+
+Reference any related issues with `Fixes #...` when applicable.
diff --git a/.gitignore b/.gitignore
index bea99c7eb..29dbadca2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,8 +39,3 @@ yarn-error.log*
apps/backend/.medusa
packages/modules/*
-
-POC Projects/*
-templates/*
-packages/registry/*
-*.md
\ No newline at end of file
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
index 5952de844..25fe133f9 100644
--- a/CODE_OF_CONDUCT.md
+++ b/CODE_OF_CONDUCT.md
@@ -74,7 +74,7 @@ Conduct reinforces encouraged behaviors and norms that can help avoid conflicts
and minimize harm.
When an incident does occur, it is important to report it promptly.
-To report a possible violation, **email [[email protected]](mailto:[email protected])**
+To report a possible violation, **email [[email protected]](mailto:[email protected])**
Community Moderators take reports of violations seriously and will make every
effort to respond in a timely manner.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 000000000..dd6d0cfae
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,31 @@
+# Contributing to Mercur
+
+We’re excited to collaborate with folks building on top of Mercur. This guide explains how we organize releases, structure branches, and prepare pull requests so changes land smoothly.
+
+## Branch Model
+
+- `main` – release-ready code. Every commit is tagged and deployable. Keep PRs targeting `main` limited to hotfixes or release prep approved by maintainers.
+- `new` – nightly builds and upcoming release work. Base regular feature work off `new` so it can soak in automation and shared testing.
+- Topic branches – create a dedicated branch per change using the format `feat/<concise-feature-name>` (for example `feat/vendor-product-export`). Use other prefixes when appropriate (`fix/`, `chore/`, `docs/`).
+
+## Working on Features
+
+- Branch from `new`, keeping it up to date via `git pull --rebase origin new`.
+- Keep commits scoped and descriptive. Squash locally if it clarifies the story.
+- Follow module conventions from [`CLAUDE.md`](CLAUDE.md) and prefer the `packages/` workspace for new code.
+
+## Pull Requests
+
+- Open PRs against `new` unless you are coordinating a release hotfix.
+- Describe the user impact, architectural notes, and testing performed (lint, unit, integration, CLI).
+- Ensure the branch merges cleanly and CI is green before requesting review.
+- Reference related issues or discussions; add screenshots or recordings for UI tweaks.
+- Tag maintainers early if you need design or architectural guidance.
+
+## Helpful Resources
+
+- 📚 Documentation: [docs.mercurjs.com](https://docs.mercurjs.com)
+- 🧠 Agents & architecture guide: [`CLAUDE.md`](CLAUDE.md)
+- 💬 Community discussions and issues: [GitHub issues](https://github.com/mercurjs/mercur/issues)
+
+Thanks for helping us build a more extensible, AI-ready marketplace platform!
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 000000000..f88aba3fa
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2025 Rigby
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
index 9455bb070..80e32f26b 100644
--- a/README.md
+++ b/README.md
@@ -106,7 +106,6 @@ integrations coming soon.
```bash
npx @mercurjs/cli create my-marketplace
-
```
**Step 2**: Start the development server:
@@ -131,6 +130,14 @@ npm run dev
- [Redis](https://redis.io/download/)
- [Git CLI](https://git-scm.com/downloads)
+## Contribution
+
+Mercur is an Open Source project and we encourage everyone to help us making it better. If you are interested in contributing to the project, please read our [Contributing Guide](https://raw.githubusercontent.com/mercurjs/mercur/refs/heads/new/CONTRIBUTING.md) and [Code of Conduct](https://raw.githubusercontent.com/mercurjs/mercur/refs/heads/new/CODE_OF_CONDUCT.md).
+
+If you have any questions about contributing, please join our [Discord server](https://discord.gg/hnZBzc4NJU) - we are happy to help you!
+
+Discovered a 🐜 or have feature suggestion? Feel free to [create an issue](https://github.com/mercurjs/mercur/issues/new/choose) on Github.
+
# Resources
#### Learn more about Mercur
@@ -141,4 +148,4 @@ npm run dev
#### Learn more about Medusa
- [Medusa Website](https://www.medusajs.com/)
-- [Medusa Docs](https://docs.medusajs.com/v2)
\ No newline at end of file
+- [Medusa Docs](https://docs.medusajs.com/v2)
diff --git a/SECURITY.md b/SECURITY.md
new file mode 100644
index 000000000..7c807c1ae
--- /dev/null
+++ b/SECURITY.md
@@ -0,0 +1,31 @@
+# Security Policy
+
+## Reporting a Vulnerability
+
+If you discover a security vulnerability in Mercur, **please report it privately** — do not open a public GitHub issue.
+
+
+### What to Include
+
+- Description of the vulnerability
+- Steps to reproduce (or proof of concept)
+- Affected components or modules
+- Potential impact and severity estimate
+- Suggested fix (if you have one)
+
+### What to Expect
+
+We will keep you informed throughout the process and credit you in the release notes (unless you prefer to remain anonymous).
+
+### Safe Harbor
+
+We consider security research conducted in good faith to be authorized. We will not pursue legal action against researchers who:
+
+- Make a good-faith effort to avoid privacy violations, data destruction, and service disruption
+- Report vulnerabilities privately through the channel above
+- Allow reasonable time for a fix before any public disclosure
+
+### Supported Versions
+
+Security fixes are applied to the latest release. We do not backport fixes to older versions unless the vulnerability is critical and the version is widely deployed.