Skip to content

Instantly share code, notes, and snippets.

@jdecode
Created October 31, 2023 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdecode/6a63e773910993381379f938934a7ed5 to your computer and use it in GitHub Desktop.
Save jdecode/6a63e773910993381379f938934a7ed5 to your computer and use it in GitHub Desktop.
Postman setup

Postman setup instructions

Account sign-up

  1. Using founder's email (like fnl_dev@product.com) or project account email (like project_admin@founderandlightning.com)
  2. Add Founder's credit card to the account
  3. Rename the "My Workspace" to "Product/Project Personal Workspace"
  4. Create a new workspace (Team Workspace, not Personal Workspace) - labelled "API Workspace" (or something appropriate)
  5. Create a new team, and add project members with "Developer" level access (without "Billing/Admin" access)
  6. Copy over the collections from the platform APIs (ci, dev, and qa collections) and have those setup in the Postman - update the required collection variables

GitHub Integration

  1. Home > Integrations > Create new integration > "Backup a collection"
  2. Create a new GitHub access token [fine-grained token, using DevOps GitHub account - this would be generated by BE tech-leads]
  3. Using the token, finalise the collection-backup setup [screenshot attached]
  4. The "ci" collection is the one that should be backed up to the API repo

Collection setup

There are supposed to be 3 collections in Postman : ci, dev and qa

ci

  1. The one that runs at CI environments
  2. The one that is backed up to GitHub API repo as soon as any change is made
  3. The one, when updated, triggers a new build/deployment

dev

  1. The one that is continuously updated by the BE devs
  2. The one that is used for integration with FE
  3. The one that acts as the source of truth of the APIs - hence the one to be referred from documentation POV

qa

  1. The one that QA team uses for adding newer test cases/scenarios
  2. The one that, and once verified to be working fine, replaces/is-merged-with the "ci" collection
@jdecode
Copy link
Author

jdecode commented Nov 1, 2023

screenshot_from_2023-09-19_11-28-18__1_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment