Giter Club home page Giter Club logo

phrazhola / yourchatgptreactapp Goto Github PK

View Code? Open in Web Editor NEW
16.0 1.0 5.0 29.34 MB

YourChatGPT is a versatile AI chatbot solution that harnesses the capabilities of the ChatGPT API. Crafted to simplify your journey, it enables you to create a tailored ChatGPT clone effortlessly.

Home Page: https://build-your-chatgpt.azurewebsites.net

License: MIT License

HTML 1.13% JavaScript 57.20% TypeScript 18.44% SCSS 5.40% CSS 17.83%
aichatbot aichatgpt chatbot chatbotai chatgpt chatgpt-app chatgpt-bot chatgpt-clone chatgpt-ui free

yourchatgptreactapp's Introduction

Build Your ChatGPT

Welcome!

YourChatGPT is a versatile AI chatbot solution that harnesses the capabilities of the ChatGPT API. Crafted to simplify your journey, it enables you to create a tailored ChatGPT clone effortlessly.

Demo.mov

Feel free to visit our website to explore a comprehensive introduction and experience a demo of the sample Chatbot in action: Build Your Own ChatGPT

Backend package: https://github.com/phrazhola/YourChatGptBackendService

Highlights

  • Structured Code: The codebase is well-organized, making it easy to understand and customize for different styles and use cases.
  • Extensible API: The API is designed with extensibility in mind, offering flexibility for future enhancements.
  • Scalability: The architecture supports scalability, with a clear separation between the frontend UI and backend API.
  • Plug-and-Play: The solution is ready to use, requiring only API key setup.
  • Security First: The system prioritizes security by ensuring your OpenAI API key remains secure on the client side.

Setup

There are only two things you need to setup :

  • Google Login API onboarding
  • Backend application endpoint

Google Login API

  1. Create a Project in Google Cloud Console:

  2. Enable Google APIs:

    • In the Google Cloud Console, navigate to the "APIs & Services" > "Library" section.
    • Search for and enable the "Google+ API" or "Google Identity Platform API". This depends on your requirements.
  3. Create OAuth Client ID:

    • In the Google Cloud Console, navigate to "APIs & Services" > "Credentials" section.
    • Click on the "Create Credentials" button and select "OAuth client ID".
    • Choose "Web application" as the application type.
    • Enter authorized JavaScript origins (your website's URLs) and redirect URIs (where Google will redirect after authentication).
  4. Retrieve Client ID and Secret:

    • After creating the OAuth client ID, you will get a client ID and client secret. Keep these secure.
  5. Setup client ID as the environment variable

    • Set up environment variables using the .env files or in the environment where you deploy your code and then access it by process.env.YOUR_KEY.

Backend application endpoint

  • Build and deploy your backend package by whatever options you want, setup the endpoint and specify it as environment variable or in the /src/common/constants.ts file.

yourchatgptreactapp's People

Contributors

phrazhola avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.