Skip to content

RiteshK-611/chatpdf-main

Repository files navigation

ChatPDF Clone

image

Technologies and Frameworks

  • Next.js 14.1 (App Router)
  • React
  • TypeScript
  • Database
    • Drizzle ORM
    • Neon Database
    • PostgreSQL
  • AI-related
    • Pinecone (Vector Database)
    • Langchain
    • Google Gemini
    • Vercel AI SDK
  • User Authentication: Clerk
  • Object Storage: AWS SDK
  • Payment: Stripe SDK
  • Styling: Tailwind CSS
  • Third-Party UI Components
    • React Dropzone
    • React Hot Toast
    • shadcn-ui
    • Lucide icons

Installation

Follow the steps below to install and setup the project:

  1. Clone the repository

    Open your terminal and run the following command:

    git clone https://github.com/RiteshK-611/chatpdf-main.git
  2. Navigate to the project directory

    cd chatpdf-main
  3. Install Node.js

    The project requires Node.js version 19.9.0 or later. You can download it from here.

  4. Install the required dependencies

    Run the following command to install all the required dependencies:

    npm install

    This will install all the dependencies listed in the package.json file, including Next.js, React, React DOM, Axios, Stripe, Tailwind CSS, and other specific dependencies such as "@aws-sdk/client-s3" and "@clerk/nextjs".

  5. Setup environment variables

    Create a .env file in the root directory of your project and add the required environment variables.

  6. Run the project

    Now, you can run the project using the following command:

    npm run dev

    Open http://localhost:3000 with your browser to see the result.