Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/equk/unsplash-nextjs

📷 ⚛️ unsplash search using next.js
https://github.com/equk/unsplash-nextjs

api json json-api nextjs react reactjs search unsplash unsplash-api

Last synced: 3 days ago
JSON representation

📷 ⚛️ unsplash search using next.js

Awesome Lists containing this project

README

        

# unsplash-nextjs

:camera: unsplash search using next.js

![](nextjs-logo.svg)

- [x] Stateful Components
- [x] Loading Feedback
- [x] Async API Requests
- [x] API Key Seperated Using `.env.local`
- [x] Conditional Rendering
- [x] Virtual DOM
- [x] Cascading Grid

requirements: [unsplash developer api key](https://unsplash.com/developers)

add unsplash developer key to `.env.local` file in base of project

NEXT_PUBLIC_API_CLIENTID="insert-api-key-here"

created as a working example of next.js & is based on [unsplash-js-search
](https://github.com/equk/unsplash-js-search) (unsplash search using vanillajs)

## unsplash references

- https://unsplash.com/documentation
- https://unsplash.com/api-terms

## screenshot

![](screenshot.jpg)

# Contact

Website: https://equk.co.uk

Twitter: [@equilibriumuk](https://twitter.com/equilibriumuk)

### notes

> Unsplash API Terms (Attribution)
>
> Each time you or your Developer App displays a Photo, your Developer App must attribute Unsplash, the Unsplash photographer, and contain a link back to the photographer’s Unsplash profile.