itzuun

ITZuun MVP

Mongolia-focused IT freelance marketplace MVP with escrow and role-based operations.

Stack

Implemented Modules

Business Rules Enforced

Environment Variables

Backend (backend/.env)

Use backend/.env.example as the base.

Frontend (frontend/.env.local)

Use frontend/.env.example as the base.

Run Locally

Option A: Full stack scripts (Docker Postgres + app servers)

./scripts/run_stack.sh

Stop:

./scripts/stop_stack.sh
# or include db
./scripts/stop_stack.sh --with-db

Option B: Manual

Backend:

cd backend
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver 0.0.0.0:8000

Frontend:

cd frontend
npm install
npm run dev -- --hostname 0.0.0.0 --port 3000

Seed Demo Data

cd backend
python manage.py seed_mvp_demo

Seeded users (password: Pass1234!):

Test Commands

Backend focused tests:

cd backend
DJANGO_DEBUG=1 python manage.py test apps.payments.tests.MvPHappyPathApiTests apps.payments.tests.EscrowAbuseMatrixTests

Frontend tests:

cd frontend
npm test

Frontend production build check:

cd frontend
npm run build

Required MVP Demo Paths

Happy path

  1. Client creates project
  2. Freelancer submits proposal
  3. Client selects freelancer
  4. Client deposits escrow
  5. Admin approves escrow
  6. Freelancer submits deliverable + result
  7. Client releases escrow
  8. Client submits review

Admin path

  1. Verify freelancer
  2. Resolve dispute
  3. Update commission

Known Limitations