Skip to content

This app is a chat application that uses an AI language model called GPT for generating responses. It's built with React, Node.js, Express, and MongoDB. Users can log in, send messages to GPT, and view conversation history. The app uses JWT token authentication and is hosted on Netlify.

Notifications You must be signed in to change notification settings

hj2327248/chatgpt-2.0

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatGPT Clone

ChatGPT Clone is a web-based chatbot application that utilizes OpenAI's GPT language model to provide answers to user questions and queries. The conversations are saved in a MongoDB database for analysis and improvement of the chatbot's accuracy. This repository contains the source code for the application.

Technologies Used

The following technologies have been used in the development of ChatGPT Clone:

  • Node.js with Express for the backend
  • MongoDB for the database
  • React with Formik and RTK Query for the front-end
  • OpenAI GPT language model for the chatbot

Prerequisites

Before running the ChatGPT Clone application, ensure that the following are installed:

  • Node.js and NPM
  • MongoDB
  • A modern web browser
  • An OpenAI API key for using the GPT language model

Installation

  1. Clone the repository:
  2. Navigate to the project directory:
  3. Install the dependencies:
  4. Create a .env file in the root directory of the project and add the following variables:

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

REACT_APP_API_URI = https://chat-gpt-2-0-mmqe.onrender.com

  1. Start the server:

  2. Open the application in your browser by navigating to http://localhost:3000/.

Usage

  1. Register for a new account.
  2. Log in to your account using your email address and password.
  3. Use the chatbot to search for information and see your conversation history.
  4. Log out of your account when you're done using the application.

Contributing

If you'd like to contribute to the project, please follow the existing code style and formatting conventions, and submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This app is a chat application that uses an AI language model called GPT for generating responses. It's built with React, Node.js, Express, and MongoDB. Users can log in, send messages to GPT, and view conversation history. The app uses JWT token authentication and is hosted on Netlify.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 74.2%
  • SCSS 23.6%
  • CSS 1.2%
  • Other 1.0%