Software engineering · Django · Scrum · Team collaboration

Building CourseHub with Scrum: A Four-Sprint Engineering Journey

A practical look at how our EarTech internship team developed CourseHub, a pre-recorded e-learning platform, by breaking a large product into four sprint goals—from the Django foundation and instructor workflows to student learning, course discovery, reviews, security testing and deployment.

By Abdulla BashirDecember 3, 2026Case studyFour Scrum sprintsPython / DjangoAzure Boards / GitHub
The product in one sentence

CourseHub is a Django-based learning management system where instructors publish structured courses and students enroll, follow lessons, track progress and review their learning experience.

Project overview

During my EarTech internship, I joined Team A to build CourseHub. The project was delivered incrementally: instead of trying to build the entire platform at once, we organized the backlog into four sprint themes and integrated work through task branches and pull requests.

ProductCourseHub — pre-recorded e-learning platform
BackendPython, Django, Django ORM, authentication and server-rendered views
FrontendHTML, CSS, JavaScript and responsive Django templates
CollaborationScrum, Azure Boards work items, Git branches and GitHub pull requests
QualityDjango tests, access-control checks, migration checks and browser verification
DeliveryPostgreSQL-backed deployment configuration, WhiteNoise and Render build workflow

The sprint sequence documented by the project was: 1. Foundation, identity & storefront; 2. Creator studio & curriculum management; 3. Enrollment & digital classroom; 4. Search, reviews & testing. Each sprint added a usable product slice while depending on shared models, routes and templates from earlier work.

How the Scrum workflow worked

Work was tracked as Azure Boards items with IDs such as AB#3296 and AB#3315. Each developer worked in a focused Git branch, opened a pull request against the active Team A sprint branch, responded to review feedback and synchronized with the team's latest integration branch.

What made the workflow real: Scrum was not just a meeting schedule. It forced us to negotiate dependencies, keep changes within a story's scope, communicate blockers and prove that a feature worked before treating it as complete.

Sprint 1 — Foundation, identity & storefront

Sprint 01 · Platform foundation

Goal: make CourseHub a working Django application

The first sprint established the project structure and the core data needed for a course platform. The team worked on Django initialization, identity, course and category data, the landing page and the first enrollment and curriculum foundations.

Key backlog work

  • AB#3279 — Django project initialization: establish the Django project and application structure.
  • AB#3283 — custom authentication user: introduce a user model that can distinguish student and instructor roles.
  • AB#3292 — featured courses: show published courses on the home page.
  • AB#3293 — about page: add the informational page and supporting presentation.
  • AB#3297 — draft/published workflow: support course publication state and a publish toggle.
  • AB#3300 and AB#3301 — categories and course authoring: add course categories and create/edit course workflows.
  • AB#3302 and AB#3303 — modules and lessons: establish the curriculum structure and its model relationships.
  • AB#3304 — curriculum integration: connect the course curriculum pieces.
  • AB#3305 — lesson video / curriculum work: progress the lesson content and curriculum workflow.
  • AB#3308 — thumbnail validation and AB#3312 — enrollment model: prepare course media and the student-course relationship.

My early assigned work included the Django initialization and custom-user branches, plus module/lesson and video-related work (AB#3279, AB#3283, AB#3302 and AB#3305). The first implementation attempts were revised as the team clarified task boundaries and integrated shared models; the important lesson was to keep a PR aligned with the current story and target sprint branch.

Sprint 2 — Creator studio & curriculum management

Sprint 02 · Instructor experience

Goal: let instructors manage the courses they own

This sprint moved CourseHub from a basic course catalogue toward an instructor workflow. The Creator Studio provided a focused place for instructors to see and manage their own courses, while curriculum management supported the structure of modules and lessons.

Key backlog work

  • AB#3296 — Creator Studio: list an instructor's courses, show useful course fields and expose the appropriate management actions.
  • AB#3305 — curriculum and lesson content integration: connect the instructor's course structure and lesson-management workflow.
  • AB#3309 — course thumbnail upload: support course imagery in the authoring flow.

My contribution — AB#3296

I refined the Creator Studio implementation into a Django class-based view using StudioView(InstructorRequiredMixin, ListView). The key security rule was ownership: an instructor should only see courses where instructor=request.user. The view also used select_related("category") to retrieve related category data efficiently.

The work went through more than one PR iteration. The final PR, #108, was merged into team-a/sprint-2. Its PR checklist recorded the feature-branch workflow, test execution with python manage.py test courses, and screenshot evidence.

Earlier attempts (#85 and #91) were closed while the implementation and target branch were being corrected. That iteration taught me to remove unrelated changes, preserve the intended queryset behavior and make sure a PR targets the sprint branch that owns the task.

Sprint 3 — Enrollment & digital classroom

Sprint 03 · Student learning experience

Goal: connect enrollment to a protected learning journey

The third sprint focused on what happens after a student discovers a course: enrolling, seeing their learning dashboard, opening the course classroom and tracking lesson completion.

Key backlog work

  • AB#3313 — public curriculum outline: provide a read-only outline for published courses while protecting lesson content.
  • AB#3314 — enrollment backend: enroll authenticated students in published courses and prevent duplicate enrollments.
  • AB#3315 — student dashboard and course detail: list a student's enrollments, provide navigation and show an empty state.
  • AB#3318 — classroom layout: organize lesson content and course navigation in a responsive learning view.
  • AB#3319 — enrollment security: verify that students cannot access lessons belonging to another course.
  • AB#3322 — lesson progress: record completed lessons and calculate course completion.
  • AB#3333 — ratings and reviews display: calculate average ratings and show student feedback on course pages.

My contribution — AB#3315

I implemented the student dashboard and enrollment detail experience. The dashboard needed to show only the logged-in student's enrollments, provide a useful empty state, and route the student into the selected course. The course detail page exposed the course's modules and lessons while respecting access restrictions.

Integration exposed a dependency: the progress model was not yet ready when the dashboard work was being reviewed. I removed the premature LessonProgress annotations that caused a FieldError, used the enrollment's lesson-count property, and left the interim progress value at 0% until AB#3322 supplied the progress implementation. I also corrected the template name, consolidated the shared enrollment URL configuration and removed an unrelated migration change.

My PR #89 was merged into team-a/sprint-3. The PR recorded successful python manage.py check, python manage.py makemigrations --check --dry-run and a full test run of 103 tests. It also documented access tests for the student's own enrollment, other students' records, instructors and anonymous users.

Team integration and progress tracking

Other sprint contributions completed the enrollment endpoint, public outline, classroom layout and progress tracking. The progress work added a completion helper and a lesson-completion action. Later integration made the lesson-completion UI update asynchronously with JavaScript fetch(), a CSRF header and a JSON response, so the progress bar could update without a full page reload.

Sprint 4 — Search, reviews & testing

Sprint 04 · Discovery, feedback and hardening

Goal: make the platform easier to discover and safer to release

The final sprint broadened the product experience and strengthened quality. It added a searchable course catalogue, richer review workflows, additional security tests, responsive refinements and deployment preparation.

Key backlog work

  • AB#3323 and AB#3324 — asynchronous lesson completion: update lesson completion and progress in the browser without reloading the page.
  • AB#3327 and AB#3328 — catalogue search, category filters and pagination: search published courses by title, subtitle and description, combine search with category filtering, and preserve query parameters while paging.
  • AB#3331 — review administration and model tests: register reviews in Django admin and strengthen model coverage.
  • AB#3332 — review submission: let eligible students submit a rating and comment, with server-side eligibility enforcement.
  • AB#3336 and AB#3337 — security and permission tests: strengthen model/form and role-based access boundaries.
  • AB#3338 — responsive polish: improve the interface across screen sizes.
  • AB#3340 — demo seed data: prepare repeatable demonstration data and documentation.
  • Deployment work: configure Render, PostgreSQL, WhiteNoise and the build/migration process.

My review-submission testing work

I worked on the review-submission test coverage on branch feature/abdulla-3332-review-sbmission. The test cases focused on the important business rules: a student must be authenticated, enrolled in the course and have completed at least 50% of its lessons; invalid ratings and duplicate reviews must be rejected; a successful submission must be associated with the correct student and course.

The test work was committed on November 25. The team then integrated the complete review-submission implementation in PR #118. That merged PR recorded 24 review-specific tests and 201 tests across the full Django suite, with no Django system-check issues. I distinguish my test contribution from the final feature PR so that ownership and integration history remain clear.

Catalogue and release quality

The catalogue work replaced a placeholder list response with a real course-list page, restricted public results to published courses, combined text search with category filters and paginated the results. PR #125 recorded 238 passing tests after adding the category-filter and pagination behavior.

Deployment configuration was added for a PostgreSQL-backed Render environment, WhiteNoise static-file handling and a build script. The deployment PR reported 215 passing tests and successful local static collection; production database connectivity was still a separate deployment verification item at that snapshot.

My main engineering contributions

AB#3296 · Creator StudioClass-based ListView, instructor-only access, ownership-filtered queryset and efficient category loading. Final PR #108 merged.
AB#3315 · Student DashboardEnrollment listing, student-owned course detail, empty state, navigation, URL/template integration and regression tests. PR #89 merged.
AB#3332 · Review testingTest cases for enrollment, completion thresholds, valid ratings and duplicate-review protection, committed on a dedicated branch.
Cross-sprint collaborationFeature branches, pull-request descriptions, screenshots, test evidence, review fixes and sprint-branch synchronization.

Challenges that shaped the implementation

1. Dependencies between stories

The dashboard depended on enrollment data, while accurate progress depended on the later LessonProgress story. Implementing against an unfinished model created a runtime error. The correct response was to remove the premature dependency, keep the dashboard stable and integrate progress when its owning task was ready.

2. Shared URL and template ownership

Several contributors worked in the same Django apps. The enrollment routes needed one shared URL configuration, mounted once, with agreed names for the dashboard, course detail and enrollment endpoint. Agreeing on route contracts prevented duplicate route declarations and broken redirects.

3. Authorization belongs on the server

Hiding a button is not an access-control mechanism. The course platform needed server-side checks for login, role, enrollment, course publication and ownership. Tests for anonymous users, instructors, non-enrolled students and students enrolled in a different course made these boundaries explicit.

4. Progress thresholds need exact calculations

A rounded percentage can make an eligibility boundary misleading. For a rule such as “at least 50% complete,” the backend should calculate and compare the underlying completed and total lesson counts, rather than trusting a rounded display value or a hidden form.

5. A passing test suite is part of the feature

Test evidence helped the team integrate changes safely. Across the sprint history, PRs recorded full-suite checkpoints of 103, 152, 164, 201 and later 238 passing tests as the application grew. These are historical results from different commits and scopes, not one single final test run.

What I learned from the four sprints

Project links and implementation history

CourseHub was built collaboratively by EarTech's Team A. The links below provide the repository and selected pull requests that document my work and the team's sprint integrations.

Closing note: This was a team delivery, not a solo build. My most valuable growth came from owning individual stories while learning to integrate them into a shared codebase—through clear task scope, review feedback, automated tests and coordination across four Scrum sprints.