Initial commit: OpenFUT Core

Offline Ultimate Team backend — game-independent REST API.

- 19 API endpoints: auth, profiles, clubs, cards, packs, squads,
  objectives, SBCs, match rewards, NPC market, statistics
- Axum + SQLite + SQLx with full migrations
- Weighted pack generator, SBC validation engine
- JSON-driven mod data (cards, packs, objectives, SBCs)
- 5 integration tests passing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
funman300
2026-06-25 14:52:06 -07:00
commit 1ffe0ffa9f
60 changed files with 6152 additions and 0 deletions
+64
View File
@@ -0,0 +1,64 @@
[
{
"id": "bronze_pack",
"name": "Bronze Pack",
"description": "Contains 12 bronze players.",
"cost_coins": 400,
"slots": [
{
"count": 12,
"min_overall": null,
"rarity_filter": ["bronze"],
"guaranteed_rare": false
}
]
},
{
"id": "silver_pack",
"name": "Silver Pack",
"description": "Contains 12 silver players.",
"cost_coins": 2500,
"slots": [
{
"count": 12,
"min_overall": 65,
"rarity_filter": null,
"guaranteed_rare": false
}
]
},
{
"id": "gold_pack",
"name": "Gold Pack",
"description": "Contains 12 gold players, at least one rare.",
"cost_coins": 7500,
"slots": [
{
"count": 11,
"min_overall": 75,
"rarity_filter": ["gold"],
"guaranteed_rare": false
},
{
"count": 1,
"min_overall": 75,
"rarity_filter": ["raregold"],
"guaranteed_rare": true
}
]
},
{
"id": "rare_gold_pack",
"name": "Rare Gold Pack",
"description": "Contains 12 rare gold players.",
"cost_coins": 15000,
"slots": [
{
"count": 12,
"min_overall": 75,
"rarity_filter": ["raregold"],
"guaranteed_rare": true
}
]
}
]