Let’s Build a Svelte/Sapper App - Part 2: Building the list of searched games; that includes the database model, the API endpoint, and the rendering.
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.
Setting up a full Svelte Sapper project. This series will show the whole process from idea to production of a full Sapper project. This introduction explains how to set up the project.
J'ai testé Svelte et Sapper pour la première fois lors d'un projet libre pour mon école (Epitech). Il s'agit d'une application web permettant d’agréger des événements (concerts, meetups, etc...) de différentes plateformes en ligne (EventBrite, Meetup, Facebook Events). J'ai également utilisé un client GraphQL avec Svelte via Svelte-Apollo.