Web Development · Intermediate level

Intermediate level · Module 6: Multi-Page Website Project · Lesson 2 of 3

Building as a Team

Build the front end and API in parallel through branches and reviewed pull requests, keeping main deployable.

In this lesson you will

  • Work in parallel on front end and API with agreed interfaces
  • Keep main deployable through reviewed pull requests

Key concepts

API contractparallel developmentpull request workflowintegration

The lesson

Agree the API contract — endpoints and JSON shapes — first. The front-end developers can then build against sample data while the API is written, and integration is straightforward.

Every task goes through a branch and a reviewed pull request. Integrate often: merge small changes daily rather than one big merge at the end.

Hold short check-ins: what was done, what is next, what is blocked. Raise problems early, especially when a change request affects someone else's work.

Step by step

  1. Agree the API contract with sample JSON.
  2. Build front-end pages against the sample data.
  3. Build the API endpoints in parallel.
  4. Integrate and test the full flow.

Practice activity

Implement the project's features through reviewed pull requests.

Expected result: All features work together on main, with a history of reviewed pull requests from every team member.

Check your understanding

  1. Why agree the API contract first?

    Show answer

    Front-end and back-end work can then proceed in parallel and fit together.

  2. Why integrate small changes often?

    Show answer

    Problems are found early and merges stay small.

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.