- This example uses Imagekit for uploading images using Next API routes and displays the images using Next image
1- Create an account on Imagekit and grab your:
- Private key
- Public key
- Endpoint url
- Open
next.config.jsand place your path id onpath: "https://ik.imagekit.io/<HERE>/"
2- Setup your env variables by running
Run cp .env.local.template .env.local