This is a Next.js project bootstrapped with create-next-app
.
First, create a .env file at root path with the content:
YOUTUBE_API_KEY=YOUR_API_KEY
You can create YOUTUBE_API_KEY
here.
Second, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.