August 8, 2018

How Team Sync Works in mocktastic

How mocktastic syncs server updates across the members of your mocktastic team.

Never heard of Mocktastic before? Well, Mocktastic is a cross platform, downloadable, GUI desktop application, which allows you to easily mock up any REST API without having to write a single line of code. Anybody can create a mock API server, and then share it with their team, so the entire team can use it. Click here to know more!
How Team Sync Works in mocktastic

After teasing you guys for the past couple of months, we're finally going to talk about how sync works in mocktastic today.

Once you create your own mocktastic account, you can be added to multiple teams. You can have different roles in each of these teams. You can read more about these roles here.

Let's go back to our old friend Wiggins. Wiggins is a Subscriber on the Baker Street Irregulars team. Sherlock is a Publisher on the same team.

Sherlock has now mocked an API, and wants to share it with the team. Since he is a publisher, he simply logs into his account, and publishes the server to the team.

But what happens after that? How does Wiggins get the published server?

Since Wiggins has his own mocktastic account, and is logged into it, and has the mocktastic desktop app running, the app will check for any updates to all of Wiggins' teams, once every ten minutes.

So the next time mocktastic checks for updates after Sherlock publishes his server, it will know that one of Wiggins' teams, Baker Street Irregulars has an update for Wiggins.

Mocktastic will then show Wiggins a message, giving him the details of the update available [1].

Mocktastic will also add the updates available to the sidebar [2].

For example, if a new server has been published:

Sync Server Screenshot

And if an already published server has been updated:

Note the cloud icon [3] displayed next to the server name. This indicates that the update has not been downloaded yet. To download this update:

  • Click on the server you wish to download updates for on the sidebar and open the server page.
  • Click the 'Download Now', or the 'Sync Now' button.
  • Your server has now been downloaded and setup, you can now start using it.

In addition to every 10 minutes, mocktastic also checks for updates, immediately upon logging into your account on the mocktastic desktop app.

Also, if you don't want to wait till mocktastic automatically checks for updates, you can force it to check immediately, by opening the Account menu and selecting the Sync Now option.

In addition to server updates, mocktastic also syncs team memberships and server removals.

And that's how server syncing across team members works in mocktastic.