Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 1.67 KB

README.md

File metadata and controls

58 lines (36 loc) · 1.67 KB

Chatty Pete

Chatty Pete is a chat application powered by ChatGPT, created using Next.js, OpenAI API with GPT-3.5 turbo model, Tailwind CSS for styling, MongoDB for persistence, and Auth0 by Okta for authorization.

Features

  • Chat with ChatGPT: Engage in natural language conversations with ChatGPT, powered by the OpenAI GPT-3.5 turbo model.

  • Persistent Chats: All your chat history is stored in MongoDB, allowing you to pick up conversations where you left off.

  • Secure Authorization: Auth0 by Okta is used for secure user authentication and authorization.

  • Responsive UI: The UI is designed using Tailwind CSS to ensure a responsive and visually appealing experience on various devices.

Getting Started

  1. Clone the repository:

    git clone https://github.com/your-username/chatty-pete.git
  2. Install dependencies:

    cd chatty-pete
    npm install
  3. Set up environment variables:

    Create a .env file in the root directory with the following variables:

    OPENAI_API_KEY=your_openai_api_key
    MONGODB_URI=your_mongodb_uri
    AUTH0_DOMAIN=your_auth0_domain
    AUTH0_CLIENT_ID=your_auth0_client_id
    AUTH0_CLIENT_SECRET=your_auth0_client_secret

    Replace the placeholder values with your actual API keys and credentials.

  4. Run the development server:

    npm run dev

    Open http://localhost:3000 in your browser to access Chatty Pete.

Credits

Special thanks to Tom Phillips for the helpful guidance in learning Next.js.

License

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