Sandbox for using OpenAI API to generate code based on a natural language feature description.
- Python (3.8 or greater)
- Node.js (Tested using 18.3.0)
- OpenAI API key
- Docker
- Supabase CLI
-
install python dependencies:
pip install -r requirements.txt -
install the next.js dependencies
cd ui && yarn install -
start supabase:
supabase start -
add the secrets from .env.dev into a .env file (gitignored)
-
copy anon key and local url from the supabase CLI ouput to .env SUPABASE_ANON_KEY="" SUPABASE_LOCAL_URL=""
-
run
python app.py