- Clone this repo
- Run
npm i
- Create a
.env
file and add DB URL and Unsplash Access Key.(Ask, if needed to be shared.) - Run
npx prisma migrate dev --name "init
to migrate the migrations. - Run
npx prisma db seed
to seed the database. - Run
npx prisma generate
to generate a prisma client. - Run
npm run dev
Or visit this link - Vercel Link
Used NextJS because of various reasons including being able to write both frontend and backend code in one place.