/MernGPT-Clone

Full Stack MernGpt Clone same as chatgpt!

Primary LanguageTypeScript

MernGPT

Your Personal AI Chatbot Immerse yourself in the world of AI-powered conversation with MernGPT, a full-fledged MERN (MongoDB, Express, Typescript, Node.js) application designed to replicate the functionalities of ChatGPT.

Features

  • Seamless Interaction: Engage in real-time conversations with a virtual companion, ask questions, and receive insightful responses.
  • Captivating Dialogue: Leverage the power of GPT-3.5 or similar language models to experience natural and engaging conversation, just like with a real person.
  • Secure and Private: Enjoy a secure and private chatting experience with JWT token-based authentication and password hashing for enhanced protection.

Important

My Model was working completely fine like ChatGpt because I cannot buy the API key that's why the model can't send a response back.

Screenshots

  1. Authentication and Authorization When user logout when_logout

    When user login when_login

  2. SignUp Page signup_user

  3. Chat Section chat_interface

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/mern-chatbot-clone.git
  2. For Backend

    cd Backend
    npm install
  3. For Frontend

    cd Frontend
    npm install
  4. Go to .env file & add your secret

    1. OpenAI Api key
    2. MongoDB URL
    3. JWT Secret
    4. Cookie Secret
  5. Both Frontend & Backend side use this command

    npm run dev

and enjoy the app!