0–5 min
Real Hook
5–20 min
Core Concept
20–40 min
Live Coding
40–55 min
You Code It
55–60 min
Cheat Sheet
🔥 Real-World Hook (0–5 min)

Your first day at Infosys, TCS, or a startup: your manager opens a Jira board, assigns you a ticket, and says "Fix this bug by EOD."

No one explains everything. No one holds your hand. You read the code, understand the system, fix the bug, write a PR, and get it reviewed. Today we simulate exactly that. This is Day 1 at a real company.

📋 The Real Developer Workflow (5–20 min)

💡 Industry Workflow

1. Pick up ticket → Read description on Jira/GitHub Issues
2. Create branch → git checkout -b feature/SMS-101-add-search
3. Write code → Implement, test locally
4. Write tests → Unit tests pass
5. Create PR → Pull Request with description
6. Code review → Address reviewer comments
7. Merge → CI/CD deploys automatically

💻 Live Coding — Simulate Fixing a Bug (20–40 min)

// TICKET SMS-101: BUG — Search endpoint returns 500 when query is empty
// Expected: return all students when query is empty
// Actual: NullPointerException in StudentService.search()

// BROKEN code (current main branch):
public List<Student> search(String query) {
    return repo.findAll().stream()
        .filter(s -> s.getName().contains(query))  // crashes if query=null
        .collect(Collectors.toList());
}

// FIXED code (your branch: feature/SMS-101-fix-search):
public List<Student> search(String query) {
    if (query == null || query.isBlank()) return repo.findAll();
    return repo.findByNameContainingIgnoreCase(query);
}
// Unit test you write alongside the fix
@SpringBootTest
class StudentServiceTest {
    @Autowired private StudentService service;

    @Test
    void searchWithNullQueryReturnsAll() {
        List<Student> result = service.search(null);
        assertThat(result).isNotNull();
    }

    @Test
    void searchWithValidQueryFiltersResults() {
        List<Student> result = service.search("Priya");
        assertThat(result).allMatch(s -> s.getName().contains("Priya"));
    }
}
🎯 Industry Simulation (40–55 min)
  1. Ticket 1 — New Feature: Add GET /api/students/top?limit=5 — returns top N students by GPA
  2. Create branch: git checkout -b feature/add-top-students-endpoint
  3. Implement, write 2 unit tests, commit with message: "feat: add top N students endpoint"
  4. Ticket 2 — Code Review: Review your partner's code — leave 2 improvement comments
  5. Ticket 3 — Deploy: Merge your branch to main, run firebase deploy
  6. Final Show: Demo your full capstone — live URL, working features, GitHub repo with commit history

📄 Day 15 Cheat Sheet — Industry Simulation

Git Workflow

git checkout -b feature/XStart new feature
git add . && git commitSave progress
git push origin feature/XPush branch
gh pr createOpen pull request
git checkout main && git pullGet latest main
git merge feature/XMerge feature

Commit Convention

feat: add search endpointNew feature
fix: handle null queryBug fix
refactor: extract serviceRestructure
test: add search testsTests only
docs: update READMEDocumentation
chore: update dependenciesMaintenance

JUnit 5 Tests

@SpringBootTestFull context test
@WebMvcTestController layer only
@Test void name() {}Test method
assertThat(x).isEqualTo(y)Assert equality
assertThat(list).hasSize(n)List size
assertThat(x).isNotNull()Not null

What Interviewers Check

GitHub profileReal commit history
Project complexityFull-stack preferred
Code organisationProper layers
Tests presentEven 2-3 tests
README.mdHow to run it
Live URLFirebase/Heroku link