Use GPT to generate social content.
- Azure Static Web Apps CLI
- At least Node v18 (this is not a recommendation - the app will not work on previous versions because the API needs fetch. Don't ask why - the answer isn't a good one.)
- Rename the
RENAME_THIS.local.settings.json
tolocal.setting.json
- Populate the
AZURE_OPENAI_KEY
andCOSMOSDB_CONNECTION_STRING
settings in thelocal.settings.json
file with the correct values (ping Burke for Cosmos DB).
You'll need to run both the API and frontend. The emulator should do both with a single command...
swa start --api-location ./api
If it doesn't start the API, open a separate terminal instance and run func start
.