Your progress is only saved in this browser. to protect it and pick up on any device.

Module 3 of 4 in Native Git in Postman

Continue with your Deskly API from the earlier Native Git modules. You write a coded mock that stands in for Deskly, run it with the Postman CLI, and add it to a CI workflow.

You'll build
A JavaScript mock of Deskly in your repo that runs locally and in GitHub Actions.
Time
About 30 min · 3 parts · 8 steps · progress saves as you go
How it works
You do each step, then click Validate and LiftOff checks your work. 5 of the 8 steps can't be checked automatically, so you click Done for those.
You'll need
  • A free Postman account and API key (connect it below)
  • A few setup steps, shown below before you start

Connect a Postman API key to check your work

You do each step in Postman, then LiftOff uses your key to look at your workspace and confirm it's done. Connect once and it works for every module. Your key is saved in this browser and is only used to check your work in Postman.

Before you start

Complete Native Git in Postman and OpenAPI Specs with Native Git first. This module reuses the same public deskly-api fork, [Your name] - Native Git workspace, connected local folder, Deskly API collection, and (ideally) your OpenAPI spec on a feature/ branch.

When you reopen Postman, Local View may show main in the bottom left — checkout your feature/ branch before the collection appears in the sidebar (Part 2 Step 1 walks you through this).

You'll also need:

  1. Postman desktop app — Native Git, Local View, and local mocks are desktop-only.
  2. Git and your existing deskly-api clone connected to the workspace.
  3. A public GitHub fork with your collection already pushed on a feature/ branch.
  4. The Postman CLI for Part 3 (postman mock run) — see the Postman CLI docs.

Build API mocks with JavaScript →