# How trivago rewrote its web application from PHP and Melody to Next.js and TypeScript

DevFeed: [How trivago rewrote its web application from PHP and Melody to Next.js and TypeScript](<https://devfeed.tech/articles/warp-a-web-application-rewrite-project-28022.md>)

Original publisher: [Read original article](<https://tech.trivago.com/post/2022-05-16-warp-a-web-application-rewrite-project/>)

Author: Tom Bartel

Published: 2022-05-16T00:00:00Z

Content type: article

Language: en

Sources: [Trivago](<https://devfeed.tech/sources/trivago.md>)

Topics: [Next.js](<https://devfeed.tech/topics/next-js.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [PHP](<https://devfeed.tech/topics/php.md>)

Tags: [development](<https://devfeed.tech/tags/development.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [engineering-culture](<https://devfeed.tech/tags/engineering-culture.md>), [framework](<https://devfeed.tech/tags/framework.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [next-js](<https://devfeed.tech/tags/next-js.md>), [php](<https://devfeed.tech/tags/php.md>), [typescript](<https://devfeed.tech/tags/typescript.md>), [web](<https://devfeed.tech/tags/web.md>), [web-frontend](<https://devfeed.tech/tags/web-frontend.md>)

## AI overview

This article introduces trivago's series about rewriting its web application between April 2020 and the end of 2021. The company moved from a large PHP codebase and its home-grown Melody JavaScript framework to a Next.js application written in TypeScript, driven partly by concerns about maintaining, documenting, and training developers on Melody.

## Source excerpt

From April 2020 until the end of 2021, we have put trivago's web frontend on a new tech stack. Having moved away from a quite large PHP codebase and our home-grown JavaScript framework