$500 Football Betting Platform – 4 Milestones, Source Code First

Job ID: 40463335

Budget: $250 – $750 USD

Here is the complete English version of your project. Your original requirements have been kept **100% intact** (work scope, features, budget, timeline). The only changes are to the **payment structure** (split into 4 milestones with "source code first, payment after") to make the project compliant with platform rules.

You can copy and paste this directly.

---

## Project Title

> **$500 / 7 Days: Football Betting Platform (Asian Market Only) – 4 Milestones, Source Code First Then Payment**

---

## Project Description

### Total Budget: $500 (Fixed Price)
### Total Timeline: 7 Days (from contract start)

**Payment Method:** 4 independent milestones. For each milestone, the freelancer **must deliver the complete source code first**. After the employer approves the delivery, the employer **will release the corresponding payment**.

**Core Rules:**
- No source code → No payment
- Incomplete source code → No payment
- Failed approval → No payment

---

## Scope of Work (Football & Asian Market Only)

- **Sports restriction:** Football only. All other sports categories must be completely removed.
- **Full-stack Python architecture:** Fully responsive user frontend (based on hga050 Google Tech UI style) and separate admin panel. Backend must be written in pure Python.
- **Multi-language login portal:** Must include a gateway login page with three language switchers at the top: Simplified Chinese, Traditional Chinese, and English. Must include login fields, "Remember Me", and "Forgot Password" options.
- **Asian market only:** Only Asian Handicap (AH) and Over/Under. Provide real-time odds/water line.
- **Live betting risk control:** Implement 3-8 second betting delay and automatic lock/rejection of bets during dangerous operations.
- **Data API and auto settlement:** Integrate a 100% free football data API. The system must automatically fetch final scores and auto-settle without manual intervention.
- **Auto wallet and account history:** Integrate payment wallet logic for automatic deposit/withdrawal. Must include a complete "Account History Overview" page showing transaction status, settlement history, credit history, and columns for date, bet amount, valid bet, win/loss record, with date filtering.

---

## Milestone 1 ($150) – Days 1-2

**Freelancer must deliver first:**
- Complete responsive frontend UI source code (hga050 style)
- Multi-language login portal source code (3 languages, Remember Me, Forgot Password)
- Admin panel framework source code (menus, page layout)

**Employer approval criteria:**
- Employer can access the pages on both desktop and mobile
- All three languages can be switched and content changes accordingly
- Login page accepts username/password and allows clicking login (backend may not be fully connected yet)

**Payment condition:** Employer receives source code and approves → Release $150 → Move to Milestone 2

---

## Milestone 2 ($200) – Days 3-4

**Freelancer must deliver first:**
- Football event list source code (display matches, real-time odds/water)
- Betting function source code (select match, enter amount, submit bet)
- Betting record page source code (show user bet history)

**Employer approval criteria:**
- Odds are fetched from a free API in real-time and appear reasonable
- After a successful bet, user balance decreases accordingly
- Betting record page shows the newly placed bet

**Payment condition:** Employer receives source code and approves → Release $200 → Move to Milestone 3

---

## Milestone 3 ($100) – Days 5-6

**Freelancer must deliver first:**
- Auto-settlement source code (system automatically calculates win/loss and updates balance after match ends)
- Wallet logic source code (deposit/withdrawal demo flow)
- Complete account history source code (date, bet amount, valid bet, win/loss, status, date filter)

**Employer approval criteria:**
- Auto-settlement verified with a completed test match
- Deposit demo: balance increases
- Account history page shows all required columns and filter works

**Payment condition:** Employer receives source code and approves → Release $100 → Move to Milestone 4

---

## Milestone 4 ($50) – Day 7

**Freelancer must deliver first:**
- All complete Python source code (clean, not encrypted, not compiled)
- Deployment to employer's specified private server
- Simple deployment documentation (environment requirements, startup commands)

**Employer approval criteria:**
- After deployment to employer's server, all functions (login, betting, settlement, history) work properly
- Employer can perform basic maintenance independently

**Payment condition:** Employer receives all source code and approves → Release final $50 → Project complete

---

## Source Code Ownership Clause

> **For any payment the employer has released, the corresponding source code belongs to the employer. The freelancer may not refuse to deliver source code for paid milestones under the excuse of "full payment not yet received". The freelancer may not encrypt, obfuscate, or add backdoors to any delivered source code.**

---

## Project Termination Rules

| Termination Point | Employer Pays | Employer Receives |
|------------------|---------------|-------------------|
| Milestone 1 not completed | $0 | Nothing |
| Milestone 2 not completed | $150 | Complete source code of Milestone 1 |
| Milestone 3 not completed | $350 | Complete source code of Milestones 1+2 |
| Milestone 4 not completed | $450 | Complete source code of Milestones 1+2+3 |

**The employer will never be in a situation where payment is made but no corresponding source code is received.**

---

##双方确认 (Acknowledgment)

> **Employer confirms:** For each milestone, payment is released only after receiving the complete source code and approving it.
>
> **Freelancer confirms:** For each milestone, source code is delivered first. Payment is received before moving to the next milestone. If no source code is delivered, the employer has the right not to pay and bears no liability.

---

**This is the complete contract. You can copy and paste directly.**