Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.02 KB

README.md

File metadata and controls

29 lines (24 loc) · 1.02 KB

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