Welcome to My_ChatGPT Project! This project utilizes Next.js 14, Tailwind CSS, Firebase, the OpenAI API, Google Authentication, and Vercel for deployment. This README provides an overview of the project structure, dependencies, and how to get started.
- Project Overview
- Features
- Prerequisites
- Getting Started
- Configuration
- Deployment -About
- Contributing
- License
The ChatGPT Project is a web application that leverages the power of OpenAI's GPT (Generative Pre-trained Transformer) models to provide a chat-based user interface. Users can interact with a chat interface powered by the OpenAI API, and the application is built using Next.js 14, Tailwind CSS for styling, Firebase for authentication, and Vercel for deployment.
- Chat Interface: Engage in a natural language conversation with OpenAI's GPT models.
- User Authentication: Secure authentication with Google Authentication via Firebase.
- Modern Frontend: Built with Next.js 14 for a fast and efficient user experience.
- Stylish UI: Utilizes Tailwind CSS for a clean and responsive user interface.
- Serverless Deployment: Hosted on Vercel for seamless deployment and scalability.
Before you begin, ensure you have the following installed:
- Node.js (v14 or higher)
- npm (included with Node.js)
- Firebase account and project set up
- OpenAI API access
- Vercel account
-
Clone the repository:
git clone https://github.com/Sylvan452/my_chat_gpt.git cd my_chat_gpt
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
Visit http://localhost:3000 in your browser to see the application.
- Set up a Firebase project: Firebase Console.
- Create a new web app and obtain the Firebase configuration.
- Add the configuration to
firebase.js
in the project.
- Sign up for the OpenAI API: OpenAI.
- Obtain the API key and add it to your environment variables or configuration file.
- Set up a Vercel account: Vercel.
- Connect your GitHub repository to Vercel.
- Configure environment variables (Firebase config, OpenAI API key) in Vercel settings.
Deploying the application to Vercel is as simple as pushing changes to your connected GitHub repository. Vercel will automatically deploy the updated version.
##About My_ChatGPT is maintained ad developed by Obah Sylva: sylvan452@gmail.com
Feel free to contribute to this project by opening issues or submitting pull requests.
This project is licensed under the MIT License. Feel free to use, modify, and distribute the code as per the license terms.
Happy coding!