🥳Getting Started
Clone repository
git clone [email protected]:eylonmiz/react-gpt.git
Change to the project directory
cd react-gpt
Get an OpenAI API Key
Set OPENAI_SECRET_KEY in backend/main .env file (see .env.example) or run the script below
echo OPENAI_SECRET_KEY="INSERT_YOUR_OPENAI_SECRET_KEY_VALUE_HERE" >> backend/main/.env
Install dependencies
yarn install
Run Backend Script - This script generates the componenets
yarn backend:dev
Run Frontend App to see your components in action
yarn frontend:dev
Open frontend/main/src/GenReactApp.tsx
Read the instructions and change the example component to the component you generated
Read Project Customization Section
Read the Project Customization Section to learn how to customize and operate the project
Last updated