Skip to content

monish-khatri/chatgpt-clone

Repository files navigation

Laravel Logo

ChatGPT Clone

Setup

  • composer install

  • npm i

  • Set configuration in .env File:

    // OpenAI Key
    OPENAI_API_KEY="<OPENAI_SECRET_KEY>"
    
    // OPTIONAL CONFIGURATION For OAuth 2 Login(Login with Google) 
    GOOGLE_CLIENT_ID="<GOOGLE_CLIENT_ID>"
    GOOGLE_CLIENT_SECRET="<GOOGLE_CLIENT_SECRET>"
    GOOGLE_REDIRECT="${APP_URL}/google/callback"
    
  • Run Migrations php artisan migrate

  • Serve Project:

    • php artisan serve
    • npm run dev
  • Hit http://127.0.0.1:8000/

  • Enjoy 😌

Support

monishkhatri



About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published