Initial commit: OpenFUT Core + Bridge scaffold
Two-repo monorepo for an offline FUT backend inspired by SPT. openfut-core: game-independent REST API backend (Axum, SQLite, SQLx) - 19 API endpoints: auth, profiles, clubs, cards, packs, squads, objectives, SBCs, match rewards, NPC market, statistics - JSON-driven card/pack/objective/SBC data (fully moddable) - SQLx migrations, weighted pack generator, SBC validation engine - 5 integration tests passing openfut-bridge: FIFA 23 traffic proxy + reverse-engineering scaffold - Catch-all HTTP proxy with request capture to captures/ - Known-route mapper (FUT paths → Core API calls) - Placeholder responses for unknown endpoints - Admin endpoints: captures, unknown endpoint list - 4 unit tests passing cargo fmt ✓ cargo clippy -D warnings ✓ cargo test ✓ Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,87 @@
|
||||
[
|
||||
{
|
||||
"id": "card_gold_001",
|
||||
"name": "Alejandro Vargas",
|
||||
"overall": 82,
|
||||
"position": "ST",
|
||||
"nation": "Argentina",
|
||||
"league": "Primera Division",
|
||||
"club": "River Plate",
|
||||
"pace": 85,
|
||||
"shooting": 84,
|
||||
"passing": 72,
|
||||
"dribbling": 80,
|
||||
"defending": 40,
|
||||
"physical": 78,
|
||||
"rarity": "gold",
|
||||
"image_path": null
|
||||
},
|
||||
{
|
||||
"id": "card_gold_002",
|
||||
"name": "Thomas Beaumont",
|
||||
"overall": 80,
|
||||
"position": "CM",
|
||||
"nation": "France",
|
||||
"league": "Ligue 2",
|
||||
"club": "FC Toulouse",
|
||||
"pace": 72,
|
||||
"shooting": 74,
|
||||
"passing": 83,
|
||||
"dribbling": 78,
|
||||
"defending": 68,
|
||||
"physical": 74,
|
||||
"rarity": "gold",
|
||||
"image_path": null
|
||||
},
|
||||
{
|
||||
"id": "card_gold_003",
|
||||
"name": "Dimitri Kovalenko",
|
||||
"overall": 81,
|
||||
"position": "CB",
|
||||
"nation": "Ukraine",
|
||||
"league": "Premier League UA",
|
||||
"club": "Shakhtar Donetsk",
|
||||
"pace": 75,
|
||||
"shooting": 38,
|
||||
"passing": 65,
|
||||
"dribbling": 60,
|
||||
"defending": 83,
|
||||
"physical": 82,
|
||||
"rarity": "gold",
|
||||
"image_path": null
|
||||
},
|
||||
{
|
||||
"id": "card_gold_004",
|
||||
"name": "Felipe Moura",
|
||||
"overall": 83,
|
||||
"position": "LW",
|
||||
"nation": "Brazil",
|
||||
"league": "Brasileirao",
|
||||
"club": "Palmeiras",
|
||||
"pace": 88,
|
||||
"shooting": 80,
|
||||
"passing": 76,
|
||||
"dribbling": 86,
|
||||
"defending": 44,
|
||||
"physical": 68,
|
||||
"rarity": "gold",
|
||||
"image_path": null
|
||||
},
|
||||
{
|
||||
"id": "card_gold_005",
|
||||
"name": "Lars Eriksson",
|
||||
"overall": 79,
|
||||
"position": "GK",
|
||||
"nation": "Sweden",
|
||||
"league": "Allsvenskan",
|
||||
"club": "Malmo FF",
|
||||
"pace": 45,
|
||||
"shooting": 12,
|
||||
"passing": 58,
|
||||
"dribbling": 32,
|
||||
"defending": 80,
|
||||
"physical": 76,
|
||||
"rarity": "gold",
|
||||
"image_path": null
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user