Create an .env.local file, and add your Unsplash key:
Create an .env.local
file using the following value: UNSPLASH_ACCESS_KEY=...
First, run the development server:
npm install && npm run build && npm run dev
Open http://localhost:3000 with your browser to see gallery
- Enter a search term in the search bar, and click submit / enter to search for images
- Sort by
orderBy
orcolor
if preferred
Run tests:
npm run test
Loom video overview: Click Here