This example shows how to implement a basic image gallery using Next.js, Prisma Client and Cloudinary. It uses a SQLite database file which you can find at ./prisma/dev.db
.
Install npm dependencies:
git clone https://github.com/fgiuliani/prisma-upload-image prisma-upload-image
Switch into the newly created folder:
cd prisma-upload-image
Install npm dependencies:
npm install
Go to .env.local
and configure the details related to your Cloudinary account.
npm run dev
The app is now running, navigate to http://localhost:3000/
in your browser to explore it.