-
Book Overview & Buying
-
Table Of Contents
Designing Web APIs with Strapi
By :
In this chapter, we saw how we can interact with API content and what operations Strapi gives us by default.
We started by creating a naïve seeder to populate the database with sample data to work with. Then, we had a look at sorting the data using the sort API parameter. Afterward, we explored data filtering using the filters API parameter and saw how it can be used to do simple and complex data filtering. Lastly, we used the pagination API parameter to paginate and limit the number of results returned by default and specify how many records we would like to skip.
Finally, we dug a bit deeper into the underlying structure of Strapi and saw how the database queries work.
In the next chapter, we will explore authentication and authorization in Strapi. We will see how we can allow signups and logins, and protect and secure some of the API endpoints.