feat: add GitHub Repo Marketplace backend (Closes #857) [fj4WqyCCw3C5ShR1RfB7MoBPTpkRrBFYP1uT35g3MvT] - #1460
Open
waterWang wants to merge 15 commits into
Open
feat: add GitHub Repo Marketplace backend (Closes #857) [fj4WqyCCw3C5ShR1RfB7MoBPTpkRrBFYP1uT35g3MvT]#1460waterWang wants to merge 15 commits into
waterWang wants to merge 15 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub Repo Marketplace
Closes #857
Reward: 1M $FNDRY | Tier: T3 | Domain: Marketplace, Backend
What is included
A complete FastAPI backend module for the GitHub Repo Marketplace:
Backend Structure
API Endpoints
GET /marketplace/repos— List repos with language/star/search filteringPOST /marketplace/repos— Add a repo (auto-enriches with GitHub metadata)GET /marketplace/repos/{id}— Get repo detailsPOST /marketplace/repos/{id}/goals— Create funding goalGET /marketplace/repos/{id}/goals— List goals for a repoGET /marketplace/goals— List all goals (with optional status filter)GET /marketplace/stats— Aggregated marketplace statsPOST /marketplace/goals/{id}/contributions— Contribute to a goalGET /marketplace/goals/{id}/contributions— List contributionsPOST /marketplace/goals/{id}/distributions— Create payment distributionGET /marketplace/goals/{id}/distributions— List distributionsPATCH /marketplace/distributions/{id}/complete— Mark distribution as completedAcceptance Criteria Covered
Design Principles
Wallet:
fj4WqyCCw3C5ShR1RfB7MoBPTpkRrBFYP1uT35g3MvT