The "Chat Integrated with ChatGPT" project aims to develop a chat platform that allows users to engage in real-time conversations with OpenAI's ChatGPT. The main goal is to provide an interactive and efficient experience, storing conversation histories for future reference. The platform will feature a user-friendly interface, including functionalities such as chat listing, conversation opening, unwanted chat removal, and authentication for fictional users. MongoDB will be used as the database, and the implementation will be done with the Next.js framework.
- Create, Read, and Delete (CRD): Implement efficient operations to create, read, and delete chats in the API, ensuring effective conversation management.
- Enhanced AI: Incorporate the ChatGPT API to improve artificial intelligence, providing more contextual and relevant responses during conversations.
- Chat List Display: Displays an interface presenting the list of available chats. Upon selecting a chat, the user can enter the viewing/interaction mode.
- Conversation Viewing/Interaction: Allows the opening and detailed viewing of existing conversations.
- Chat Removal: In the listings screen, includes an option to remove unwanted chats.
- Login Screen: Implements a login screen for user authentication, even if fictitious for demonstration purposes. There is the possibility to expand to user management with real authentication or integration with social login services such as Google or Facebook.
We will use MongoDB as the database to store chat-related information, ensuring data consistency and persistence.
- Next.js: React framework for efficient web application development, providing a fast and responsive user experience.
Before running the project, make sure to obtain the following authentication keys:
-
Auth0:
- Obtain Auth0 authentication keys for implementing user authentication.
-
ChatGPT API:
- Acquire the ChatGPT API keys from OpenAI for integration with artificial intelligence.
-
MongoDB:
- Ensure you have MongoDB credentials to guarantee connection and data persistence.
-
Clone the repository:
cd chat-integrado-chatgpt -
Access the project directory:
git clone https://github.com/seu-usuario/chat-integrado-chatgpt
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Access the application at http://localhost:3000.
This project aims to provide an enriched chat experience by combining the intelligence of ChatGPT with an intuitive and functional interface, offering users an innovative way to communicate. 😊
Made by Robert Matos
