A Generative Text App using Google PaLM API
- Click here to create a Google Cloud API key.
- Paste your API key in the place of
YOUR_API_KEYin Usage section.
- Install all the required packages
npm install- Create
.envfile in the root directory and add yourAPI_KEY
echo "API_KEY={YOUR_API_KEY}" >> .env- Start the backend
npm run start:backend- Start the frontend on a separate terminal
npm run start:frontend- Use the app