Photo Showcase logo

Search Page

The search page is the only page that fetches data client-side because user input is needed to render photos. This happens dynamically as the app can't know your word at build time.

However, the GET request to the Unsplash API is sent via a server-based Next.js API route handler. Otherwise my credentials granting Unsplash access would leak in the page source of your device (the client).