This is an Expo project created with create-expo-app.
-
Install dependencies
npm install
-
Start the app
npx expo start
In the output, you'll find options to open the app in a
- development build
- Android emulator
- iOS simulator
- Expo Go, a limited sandbox for trying out app development with Expo
You can start developing by editing the files inside the app directory. This project uses file-based routing.
When you're ready, run:
npm run reset-projectThis command will move the starter code to the app-example directory and create a blank app directory where you can start developing.
To learn more about developing your project with Expo, look at the following resources:
- Expo documentation: Learn fundamentals, or go into advanced topics with our guides.
- Learn Expo tutorial: Follow a step-by-step tutorial where you'll create a project that runs on Android, iOS, and the web.
- Push this repo to a Git provider (GitHub, GitLab, etc.)
- Connect the repo to a new Netlify site
- In Netlify Site settings → Environment variables, add:
OPENAI_API_KEY= your OpenAI secret key
- Netlify will auto-build using
npx expo export -p weband serve the PWA fromdist/ - The Netlify Function at
/.netlify/functions/chatproxies all OpenAI calls server-side
curl -Method POST "https://rilind-ia.netlify.app/.netlify/functions/chat" -ContentType "application/json" -Body '{"messages":[{"role":"user","content":"test"}]}'Interpreting results:
200with JSON → working correctly404→ functions path/directory is wrong500 Missing OPENAI_API_KEY→ env var not set in Netlify401→ OpenAI key is invalid or has no billing/quota
| Platform | How |
|---|---|
| Android APK | Build with eas build -p android or npx expo run:android |
| iPhone PWA | Open the Netlify URL in Safari → Share → Add to Home Screen |
Join our community of developers creating universal apps.
- Expo on GitHub: View our open source platform and contribute.
- Discord community: Chat with Expo users and ask questions.