
WEEKLY REPORT
Team report submission & manager dashboard
A full-stack application where team members submit structured weekly reports and managers review, approve, or request changes across the whole team. Built as a technical assignment — designed end-to-end with JWT auth, role-based access, and a manager dashboard with visual insights.
What It Does
- Authentication — JWT login/register with role-based access (Team Member / Manager)
- Weekly Reports — create, edit, submit, and track reports with:
- Task-level table (priority, planned vs actual %, status, time planned vs spent, output)
- Tasks planned for the next week
- Blockers & achievements (with key-item flagging)
- Hours worked by task type
- Review Workflow — Draft → Submitted → Needs Correction → Approved, with version history
- Manager Dashboard — view all team reports, filter by member/project/status/date, track submission compliance
- Admin Features — project CRUD with team assignment, user management, Django admin panel
- UI — charts for status distribution and hours by task type, dark/light theme toggle, responsive Bootstrap layout
System Architecture
┌──────────────────┐
│ React 18 + Vite │
│ ─ TanStack Query│
│ ─ React Router │
│ ─ Recharts │
└────────┬─────────┘
│ REST (Axios)
↓
┌──────────────────────┐
│ Nginx (reverse proxy)│
└────────┬─────────────┘
│
↓
┌──────────────────────┐
│ Django 5 + DRF │
│ ─ SimpleJWT │
│ ─ Role-based access │
└────────┬─────────────┘
│
↓
┌──────────────────────┐
│ PostgreSQL 15 │
└──────────────────────┘Tech Stack
- Backend: Django 5, Django REST Framework, SimpleJWT
- Frontend: React 18, Vite, React Router, TanStack Query
- UI: Bootstrap 5, Recharts
- Database: PostgreSQL 15
- DevOps: Docker, Docker Compose, Nginx
- Package Managers: uv (Python), npm (JS)
Review Workflow
Team Member Manager
│ │
│ Create Draft │
│ ─────────→ │
│ Submit │
│ ────────────────────────→│
│ │ Review
│ │ ──────
│ │
│ ←────── Request Changes │ (with feedback)
│ Edit & Resubmit │
│ ────────────────────────→│
│ │ Approve
│ ←────────────────────────│
│ │Key Features
- Role-based access control (Team Member / Manager)
- Structured report submission with task-level tracking
- Multi-step review workflow with version history
- Manager dashboard with filtering and compliance tracking
- Visual insights via charts (status distribution, hours by type)
- Dark/light theme toggle
- Dockerized with automatic migrations and seeded test data
Running Locally
git clone https://github.com/Iman0810/Weekly-Report.git
cd weekly-report-app
cp .env.example .env
docker compose up --build -dFrontend at http://localhost, API at http://localhost:8000/api. Seeded test credentials in the repo README.
What I Learned
Building this end-to-end in a short timeframe forced me to make sharp architectural decisions upfront — data modeling for versioned reports, permission boundaries between roles, and how to keep the manager dashboard performant with filtered queries. It also pushed me to write a clean, reproducible Docker setup so the reviewer could run it with one command.
More Views
Click any image to view full size.
