B2B travel portal rewritten without replacing the booking engine

Incomum Viagens had a ten-year-old PHP site, slow, with its search engine down and content scattered across external services. The factory rewrote the portal in React while keeping the same APIs, routes and hosting: three times faster, search back online and the team in control.

1/3

Case study · Incomum Viagens 2026

Full home load
3×
9,1 s → 2,9 s
Before9,1 s
After2,9 s
Content ready (DOM)
5×
2,3 s → 0,5 s
Before2,3 s
After0,5 s
Requests
−60%
199 → 80
Before199
After80
Data transferred
½
30,5 MB → 15,6 MB
Before30,5 MB
After15,6 MB

Context

Incomum Viagens is a tour operator with 28 years in the market and seven branches, selling packages, lodging and flights through partner agencies. The website is the showcase for those agencies: it is where the agent checks offers, quotes and shares the link with the end customer.

The portal had been running on PHP for more than ten years, on Slim and Twig, consuming the Infotravel booking-engine API. It worked, but it had aged.

The pain

Three problems had piled up. The site was heavy: the home page took about nine seconds to fully load, with two hundred requests and thirty megabytes, Bootstrap and jQuery included. On the phone, where the agent works, the header filled the whole first screen.

The search engine was down. Infotravel had discontinued the old script the site relied on, the search block was hidden and the package pages failed silently. A tour operator's website could not quote a trip.

And part of the content lived elsewhere: the marketing area for agencies was on Google Sites and the digital showcase on RD Station, two external links to complete what the site did not do. Changing a document or a branch phone number required a developer and a deploy.

What was decided

The project rule was to change what the visitor sees without changing what already works. The same routes and links, so that no address ever sent to a customer gets lost. The same Infotravel APIs, on the official engine's current contract, so the catalogue, package details and exchange rates keep coming from the source with no double entry. The same shared PHP hosting, with no new licence or server cost.

The front end was rewritten in React 19 with TypeScript: editorial look, large photos, prominent prices, designed mobile first. The search engine came back with all four modes, with origins and destinations fetched live from the API and autocomplete for cities, airports and hotels. The package page gained WhatsApp sharing with an image preview, which is how the agent closes a sale.

The external dependencies were rebuilt inside the site: campaign hub, sales documents, showcase, sales sheets and the partner agency area. An admin panel with thirteen modules (offers, documents, branches, languages, SEO, e-mail, users) let the team edit without a developer, including scheduled seasonal themes: Black Friday, Christmas, Carnival, each campaign with its own look in one click. The back end is a single PHP file, built for the shared hosting that was already there.

How the switch was made

Replacing a site that sells every day requires the switch to be reversible. The new portal's build accepts a base path, so the first publication went to a subfolder on the same hosting, as a staging copy the team could open and compare side by side with the old site, using the same API and the same packages.

Package pages kept their usual address, with the package code and name in the URL, so that no link already sent to a customer would stop opening. The admin panel creates the data and upload folders on the server, outside the build, which is why a new deploy never overwrites what the team has entered. On switch day, it was a matter of moving the files to the root.

For development, Vite itself proxies the calls to Infotravel, so the home, listings and details work with no PHP installed; only the panel and the forms need the back end.

Outcome

The numbers above are our own measurement from 27 Oct 2026: Chrome, desktop, same machine and network, average of two home loads, both sites loading the same photos from the API. No Bootstrap or jQuery, images on demand and code split per page. Every second shaved reduces abandonment and improves Google ranking.

More important than the numbers: the site sells from the home page again, content that lived in three places now lives in one, and the team publishes campaigns, documents and phone numbers without opening a ticket. Modernizing a legacy system does not have to mean replacing everything; here it meant replacing the right part.

Result

Same integrations, new experience: the partner agencies' portal now loads as a modern application, without replacing the booking engine.

React 19TypeScriptViteTanStack QueryPHP 8SQLiteLegacy modernization
Year
2026
Client
Incomum Viagens
Category
Web

Ready to open the gates?

Tell us what you need. Within one business day you get a reply with the next steps.