🍔 Recipes app
Mobile Recipes app using React Native (Expo), Supabase and OpenAI.
Features
- User authentication
- Sign up
- Sign in
- Sign out
- Recipes on the home screen
- Recipe details
- Generate recipe based on uploaded food image
- Store recipes in Supabase database and storage
- Generate recipe based uploaded recipe image
- Generate recipe based on text input
- Edit generated recipe
- Share recipe
- Like recipe
- Comment on recipe
- Search for recipes
Adding or updating .env variables
When adding or updating .env variables, you need to run eas env:push
to update the environment variables on the EAS
build servers.
Run the app on a local device (emulator)
- Clone the repository
- Install dependencies:
bun install
- Prebuild the app:
npx expo prebuild
- To start the app on an emulator (make sure you have an emulator running):
- iOS:
npx expo run:ios
- Android:
npx expo run:android
- iOS:
Generate types based on Supabase schema
- Run
bun generate:types
to generate types based on the Supabase database schema.
Run Supabase functions locally
- Install Deno:
brew install deno
- Run Docker locally
- Run
bun supabase:dev
to start the Supabase functions locally
Deploy Supabase functions
- Run
bun supabase:deploy
to deploy the Supabase functions to the Supabase instance
Run the app on a physical device (EAS build)
- Clone the repository
- Install dependencies:
bun install
- Create EAS production build:
bun build:production
(configured for Android)
Create a local build (APK)
- Clone the repository
- Install dependencies:
bun install
- Prebuild the app:
npx expo prebuild
- Create a local build:
bun build:local
(configured for Android)
Project details 1 0
View on GitHub