Building a Decoupled Frontend
We can use a decoupled approach when planning how to implement the frontend for a Drupal website.
In this chapter, we’ll explore some solutions available for building a JavaScript application that queries a Drupal backend to retrieve the information to render.
The first section discusses how Drupal exposes its content to the external systems. In the second part, we’ll build a frontend using a handmade solution with vanilla JavaScript and then with Next.js.
The topics covered in this chapter will be as follows:
- Setting up the environment to build a decoupled site
- Introduction to Next.js