And that's it for API routes,
another very useful feature Next.js offers to you.
A feature, which you won't need
in every project you're building.
Not every Next website needs API routes.
But if you have some backend functionality
that should be triggered through client side code,
like we're doing it here
for loading feedback or for storing feedback,
then API routes can be super useful
because they allow you to add
extra functionality to your website,
which might rely on an API
like users sign up for a newsletter
without having to build an extra API backend.
Without having to build a totally different project.
Instead, you can easily inject API routes
as we're doing it here
by using this special API folder in the pages folder.
And you can write service side code here,
which is then triggered for requests to these API routes.
And here you learned that you can find out
which kind of request was sent,
that you can extract request body data,
and that you can send back responses
with different status codes
and also with different kinds of data.
You'll learn about static API routes and dynamic API routes,
and how you can structure your files and folders here.
And with that, you got another important tool
in your toolbox, which allows you to
really build any kind of project
and any kind of website you want
because Next.js has all the features you need for that.