Create an .env file and add this variables :
MARVEL_BASE_URL="https://gateway.marvel.com/v1/public/"
MARVEL_PRIVATE_API_KEY=your private api key
MARVEL_PUBLIC_API_KEY=your public api key
Run:
npm i
Run:
npm run dev
Open http://localhost:3000 with your browser to see the result.
This is a Next.js project bootstrapped with create-next-app
.