{"id":18498465,"url":"https://github.com/yashkathe/ai-chat-bot-mern","last_synced_at":"2025-04-09T00:31:20.378Z","repository":{"id":204784251,"uuid":"708598739","full_name":"yashkathe/AI-Chat-Bot-MERN","owner":"yashkathe","description":" A MERN stack app that leverages the power of React to craft stunning UI/UX on the front end, while seamlessly integrating OpenAI's API to enhance the backend functionality. ","archived":false,"fork":false,"pushed_at":"2024-07-13T07:15:03.000Z","size":2045,"stargazers_count":18,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T19:45:17.993Z","etag":null,"topics":["chat-gpt","chatbot","open-ai","react-chat-bot"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yashkathe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-23T01:46:06.000Z","updated_at":"2025-03-22T11:22:59.000Z","dependencies_parsed_at":"2023-12-02T09:26:00.777Z","dependency_job_id":"63b2a660-ccfc-4b99-b0a5-74b7136362d8","html_url":"https://github.com/yashkathe/AI-Chat-Bot-MERN","commit_stats":null,"previous_names":["yashkathe/ai-chat-bot-mern"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashkathe%2FAI-Chat-Bot-MERN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashkathe%2FAI-Chat-Bot-MERN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashkathe%2FAI-Chat-Bot-MERN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashkathe%2FAI-Chat-Bot-MERN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yashkathe","download_url":"https://codeload.github.com/yashkathe/AI-Chat-Bot-MERN/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247949886,"owners_count":21023409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chat-gpt","chatbot","open-ai","react-chat-bot"],"created_at":"2024-11-06T13:40:31.271Z","updated_at":"2025-04-09T00:31:18.149Z","avatar_url":"https://github.com/yashkathe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat Bot\n\n## Overview\n\nThis project is a chat bot leveraging OpenAI's GPT-3.5 Turbo model, implemented\nusing React for the front end, Express for the backend, and MongoDB for data\nstorage. The application provides users with an interactive interface to engage\nin natural language conversations with the GPT-3.5 Turbo model.\n\n## Features\n\n- **Conversational Interface:** Users can have dynamic and natural language\n  conversations by inputting prompts or queries.\n\n- **Backend Integration:** The Express backend manages communication with the\n  OpenAI API, handling requests and responses seamlessly.\n\n- **Data Persistence:** MongoDB is employed for storing user data, including\n  prompts and model responses.\n\n## Prerequisites\n\nBefore running the application, ensure you have the following installed:\n\n- Node.js\n- npm (Node Package Manager)\n- MongoDB\n\n## Setup\n\n1.  Clone the repository:\n\n    ```bash\n    git clone https://github.com/yashkathe/AI-Chat-Bot-MERN.git\n    ```\n\n2.  Navigate to the project directory:\n\n    ```bash\n    cd AI-Chat-Bot-MERN\n    ```\n\n3.  Install dependencies for both the client and server:\n\n    ```bash\n    # Install frontend dependencies\n    cd frontend\n    npm install\n\n    # Install backend dependencies\n    cd backend\n    npm install\n    ```\n\n4.  Configure environment variables:\n\n    Modify the `.env.txt` file in the `backend` directory and add the following variables and rename it to `.env`:\n\n        ```bash\n        OPENAI_API_KEY=your_openai_api_key\n        MONGODB_URI=your_mongodb_uri\n        ```\n\n5.  Start the application:\n\n    ```bash\n    # Start the client (in the frontend directory)\n    cd frontend\n    npm run dev\n\n    # Start the server (in the backed directory)\n    cd backend\n    npm run dev\n    ```\n\n## Notes\n\n- Make sure to replace `your_openai_api_key` and `your_mongodb_uri` with your\n  actual OpenAI API key and MongoDB connection URI in the `.env` file.\n\n## Website Screenshots\n\n### Home Page\n\n![Home Page](readme_content/home.png)\n\n### Login Page\n\n![Login](readme_content/auth_login.png)\n\n### SignUp Page\n\n![Signup](readme_content/auth_signup.png)\n\n### Chat Page\n\n![Empty Chat](readme_content/empty_chat.png)\n\n## Website Demo\n\n![Website Demo](readme_content/demo.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashkathe%2Fai-chat-bot-mern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyashkathe%2Fai-chat-bot-mern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashkathe%2Fai-chat-bot-mern/lists"}