Skip to content

usamatariq180/idea-generator-chatbot

Repository files navigation

Idea Generator Chatbot

This is a full-stack web application that allows users to brainstorm ideas with a chatbot and save them to a list. https://idea-generator-chatbot.vercel.app/

Prerequisites

  • Node.js (v14 or later)
  • npm (v6 or later)

Installation

  1. Clone the repository:

    git clone https://github.com/usamatariq180/idea-generator-chatbot.git
    cd idea-generator-chatbot
    
  2. Install dependencies:

    npm install
    
  3. Create a .env.local file in the root directory and add your OpenAI API key:

    OPENAI_API_KEY=your_api_key_here
    

Running the Application

  1. Start the development server:

    npm run dev
    
  2. Open your browser and navigate to http://localhost:3000

Features

  • Chat interface to interact with the AI
  • Save ideas generated by the AI
  • View saved ideas
  • Reset functionality to clear the conversation and saved ideas

Technologies Used

  • Next.js
  • React
  • Tailwind CSS
  • OpenAI API

Notes

  • This application uses local storage to persist saved ideas and chat history. They will be available even after refreshing the page but are limited to the browser you're using.