DocumentationLogin
Enterspeed logo
Enterspeed Blog
Product

Reduce debugging time with easy access to real-time content and data ๐Ÿฅ‚

Jane Skovbo
Jane Skovbo
Head of Communication & Business Processes at Enterspeed
Thumbnail for blog post: Reduce debugging time with easy access to real-time content and data ๐Ÿฅ‚

Champagne and bugs ๐Ÿฅ‚

Does this sound familiar? You and your team finally got the clientโ€™s brand new website online!๐Ÿ•บ But you didn't even have time to finish your first glass of celebratory champagne, before the first bug that your QA team (you have one, right?) didn't catch, pops up.

*sigh*

So, apparently the actual name of some of the products is waaaay longer than the ones you and the team tested. Data wise all is good, but in the jungle of devices, this breaks the layout on the smartphone that the CEO uses. HUGE issue.

You tell the project manager, that this should be an easy fix and quickly boot up your machine and fix the bug. Quick build and the client tells you that it *did* fix some of the issues and sends you a lists of 30-something products.

Back to debugging. The products are not in your local database and you need go to the server to export the database and import it locally which f***s up some settings. Your mind start reeling with all the stuff you need to cancel over the weekend (why oh why did you deploy on a Friday...).

Get control of your data

This is of course not an actual scenario and would never happen in real life (right? ๐Ÿ˜‰), but nonetheless we still hear development teams that struggle with:

  • syncronizing data from environments
  • debugging frontend issues locally without access to the production content
  • risk of manually exporting/importing data (donโ€™t override prod!).

Why not choose a tool that can give you a headstart and help prevent such issues?

Thankfully, as a side effect of using Enterspeed for your decoupled frontend, you get the opportunity to switch seamlessly between data sources!

And this is not limited to just production to local data. You can use this in other ways as well โ€“ such as CMS preview.

๐Ÿ‘‰ Happy editors with Umbraco preview and Enterspeed โค๏ธ

Example of a setup

We know that there are lots of different setups, teams structures, and different ways of coding the frontend out there.

A typical high level headless setup โ€“ in this case a WebApp using Next.js โ€“ could look like this. But feel free to abstract it to your world (however it might look).

Typical process with Enterspeed

You have your local environment running with your Next.js application that gets data from an Enterspeed Source, which you can configure as you like. For this example we have three sources: Development, Staging, and Production.

Sources & Environments in Enterspeed

These sources are populated with data from your CMS, PIM or whatever data sources you've connected. In your local code, you should have configured which environment you get the data from:

Now you can change the [environment-key] to use your staging or production data, and voilรก you have changed your data source! ๐ŸŽ‰

(Note: For a production environment, your API key should be injected on build time.)

It is also possible to switch around inside Enterspeed so that the production data source is applied against the local environment if you want to test your schemas with the production data.

Or you can point your production data to the staging environment to verify how that works with production data, even without changing API key in the staging build.

Enjoy your next glass of champagne bug free

Why not set yourself up for success by untangling the switch between data sources to ease bug fixing on local environments. Or even prevent them.

Now. Get to it ๐Ÿ˜Ž

Jane Skovbo
Jane Skovbo
Head of Communication & Business Processes at Enterspeed

Thrown into tech marketing and loving it. Mother of two, wife of one, runner, and reader of romance.

Ready to try out Enterspeed? ๐Ÿš€

Start combining & connecting your services today

Product

Why Enterspeeed?Use casesBuild vs. buyIntegrations

Company

Partners โ˜• Let's talk!About UsContact UsTerms of ServicePrivacy PolicySecurity
Enterspeed logo

ยฉ 2020 - 2024 Enterspeed A/S. All rights reserved.

Made with โค๏ธ and โ˜• in Denmark.