WiseWord: AI Powered Blog App : Next.js v14, Pinecone, OpenAI, Shadcn UI, Clerk-Auth, Prisma ORM, UploadThing
WiseWord is a Fullstack AI blogging application. built using Next.js, Typescript, MongoDB, Prisma ORM, UploadThing, shadcn ui library, React-hook-form and Zod for form validation. User can perform all CRUD Operations of creating, deleting and updating the blogs. Every blog is Stored as a vector embedding in Pinecone vector database and a ChatBot uses this embedding to answer questions related to blogs. Any user can view all the post but only authorized user can update and delete the blog.
*The app isn't functioning due to the api limit on the OpenAI API, but the code is correct and can be replicated using the guidelines below.
- Server Components
- Vector Embedding with Pinecone
- AI Generated Respones using OpenAI API
- CURD Operations
- Upload with UploadThing
- Shadcn UI Components
- Clerk Authentication
- Prisma ORM
- React-hook-form and Zod for form validation
git clone https://github.com/Omkar-kamble82/WiseWord.git
npm i
//Clerk Auth
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=
NEXT_PUBLIC_CLERK_SIGN_UP_URL=
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=
//Prisma DB URL
DATABASE_URL=
//Upload Thing
UPLOADTHING_SECRET=
UPLOADTHING_APP_IDL=
//Pinecode and OpenAI
OPENAI_API_KEY=
PINECONE_API_KEY=
npx prisma db push
npm run dev