This is a Next.js project bootstrapped with create-next-app
.
Required Dependencies:
- Node v18.17.0
- NPM 10.4.0
-
Go to Unsplash
-
Register as a developer and create a new project with Unsplash
-
You should be provided with API credentials or go to your Unsplash projects and locate your new credentials
-
Create a new file called
.env.local
at project directory level: -
Create variable called
UNSPLASH_ACCESS_KEY
-
Add your access key from Unsplash as the value
npm i
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Got to http://localhost:3000/