Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 2.23 KB

File metadata and controls

42 lines (29 loc) · 2.23 KB

▶️ Fastest: mock mode (no backend needed)

cd _OffsideVentures-frontend-sveltekit pnpm dev # → http://localhost:5173 Open the URL. It runs entirely on in‑memory fixtures (the same data the Django seed_demo creates), so you can click through the whole CRM immediately.

What to try (a click‑through checklist)

Auth & shell

  • Land on / (design‑system showcase) → "Open app →"
  • /login — any credentials work in mock mode → lands on the dashboard
  • Toggle the sidebar collapse (bottom of sidebar), resize the window to see the mobile nav drawer
  • ⌘K opens the command palette (shell), "Ask AI" opens the slide‑over, avatar menu → Sign out

CRM (the E8 work)

  • Companies — search, filter by status, click a row → detail (fields, related contacts/deals, timeline); New company, edit, delete
  • People — same, with the company dropdown in the form
  • Deals — drag deal cards between kanban columns (the move persists), toggle the table view (top‑right icons), open a deal → change stage from the dropdown, edit/delete
  • Tasks — click a task's circle to complete it (moves to Done); New task
  • Notes — write a note → Add note; see it appear alongside the activity feed
  • Dashboard — live stats (pipeline value, open deals, tasks due, companies)

Already stubbed (coming next): the AI panel (E9), the command‑palette search (E10 — the ⌘K box opens but doesn't search yet), and Settings (placeholder page).

Full‑stack option (real Django + real data)

terminal 1 — backend (SQLite in dev, no Postgres needed)

cd _OffsideVentures-backend-django python3 -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt cp .env.example .env python manage.py makemigrations core && python manage.py migrate && python manage.py seed_demo python manage.py runserver # http://localhost:8000 (admin at /admin, API docs at /api/docs)

terminal 2 — frontend pointed at Django

edit _OffsideVentures-frontend-sveltekit/.env → PUBLIC_MOCK=0

pnpm dev # log in: demo@offsideventures.com / offside1234 No CORS setup needed — the browser only talks to the SvelteKit BFF, which calls Django server‑to‑server.