Guides / Teams

Collaboration

Share One Mock API Across Your Frontend Team

Organize a shared workspace, stable project domains, route conventions, invitations, and environment values so teammates build from one predictable contract.

Mockport Team · Updated September 28, 2026 · 11 min read

What you’ll build

  • A clear workspace and project structure.
  • Stable domains and readable route conventions.
  • A five-seat invitation workflow.
  • A lightweight change and environment checklist.

01

Separate workspace and project responsibilities

Use the workspace as the team boundary: it holds members and the projects they collaborate on. Use a project as the API boundary for one application or clearly bounded frontend surface.

The Acme Platform workspace could contain customer-portal and internal-dashboard projects. Each receives a hosted domain and up to 15 routes.

  • Workspace: membership, shared access, and billing.
  • Project: one hosted domain and its route collection.
  • Route: method, path, static response, and selected status.
Practical note

Plan allowances belong to the workspace, not each member. Five seats do not multiply the project or route limits.

02

Choose a stable project domain

Name a project after the application rather than a sprint or individual. customer-portal.mockport.dev remains useful across branches, previews, and handoffs.

Put the domain behind one environment variable in each frontend. Teammates can clone the application, supply the same value, and reach the shared contract immediately.

.env.example
VITE_API_URL=https://customer-portal.mockport.dev
Practical note

A stable domain is a team asset. Avoid names tied to one person, ticket, or temporary review date.

03

Adopt readable route names

Use versioned resource paths for core contracts and descriptive suffixes for scenarios. Keep the method visible in discussions because different methods at the same path represent different work.

Reserve capacity before a large feature. A concise inventory prevents duplicate fixtures and leaves room for meaningful failure states.

route-convention.txt
GET    /v1/users/:id
POST   /v1/users
GET    /v1/users/not-found
GET    /v1/catalog
POST   /v1/checkout/success
POST   /v1/checkout/declined

04

Invite members and clarify ownership

The Team plan supports up to 5 workspace seats. Invite developers, designers, or QA partners who actively maintain or review contracts.

An owned workspace carries its own billing responsibility. An invited workspace belongs to another team and has separate projects, usage, and billing. Switching workspaces should not alter subscriptions.

  • Invite teammates using their team email.
  • Confirm the workspace before creating routes.
  • Agree on who handles billing and membership.
  • Remove stale access when collaboration ends.
  • Use invented data suitable for public endpoints.
Practical note

Keep member access simple. Team conventions can coordinate editing without adding a complex role system.

05

Use a small change convention

Before editing a shared response, post the route, intended change, reviewer, and activation time in the team channel. Keep keys stable where possible and add a scenario route when outcomes must coexist.

After saving, run Test route, open the corresponding application preview, and ask a teammate to verify the visible state.

change-note.txt
Route: GET /v1/users/:id
Change: add active boolean to profile fixture
Owner: Maya
Reviewer: Jon
Preview: customer-portal / profile branch
Effective: September 28, 2026

06

Run the shared workflow checklist

Use the same short sequence for new routes and changes. It should be easy to repeat during everyday frontend work.

Review capacity before adding scenarios. Remove obsolete experiments or create a bounded project instead of making route names ambiguous.

  • Choose the correct workspace and project.
  • Name method and path using the team convention.
  • Configure invented JSON and the intended status.
  • Test the hosted URL and share the environment value.
  • Announce changes before editing routes in active use.
  • Verify local and preview builds.

Keep the contract predictable, then keep building.

Stable domains, readable routes, intentional membership, and a small change convention give your team one contract it can trust.

Put your next endpoint online in minutes.

Start a 14-day trial. Team workspaces are $9/month with 5 project domains, 15 routes per project, and up to 5 seats.

Start free trial →

Related guides