Part 2: Building the list of searched games; that includes the database model, the API endpoint, and the rendering.

Photo by  Riku Lu on  Unsplash

If you missed last part and are interested in knowing how developed the search bar that is going to get the queries for today’s part, go back to read it, this article isn’t going anywhere.

In this part we are going to show the list of games that match the searched term. We are going to start with the database model, continue with the backend endpoint, and end with the frontend view.

If you want to jump straight to the code, you can find it here.

#sapper #svelte #javascript #typescript

Let’s Build a Svelte/Sapper App
1.55 GEEK