A modern React Native (Expo) app for networking events, built with Expo Router and ready for Supabase backend integration.
This app provides a social platform for discovering, creating, and joining networking events. It features:
- Custom navigation and theming
- Event creation and discovery
- User profiles and onboarding
- Ready for Supabase backend integration
- Node.js (v18 or newer recommended)
- npm (v9 or newer) or yarn
- Expo CLI:
npm install -g expo-cli - EAS CLI (for cloud builds):
npm install -g eas-cli - (Optional) Git for version control
- Clone the repository:
git clone <your-repo-url> cd befriend
- Install dependencies:
npm install # or yarn install - Start Expo development server:
expo start
- On Android/iOS device:
- Install the Expo Go app from the Play Store/App Store.
- Scan the QR code from
expo startin your terminal or browser.
- On Android emulator/iOS simulator:
- Make sure you have the emulator/simulator running.
- Press
a(Android) ori(iOS) in the Expo CLI terminal.
- Cloud build (recommended):
eas build -p android --profile preview
- Follow the link provided after the build completes to download your APK.
- Local build (advanced, requires Android SDK):
expo run:android --variant release
- Create a Supabase project:
- Go to supabase.com and create a new project.
- Install Supabase client:
npm install @supabase/supabase-js
- Configure Supabase:
- Create a file (e.g.,
lib/supabase.ts):import { createClient } from '@supabase/supabase-js'; export const supabase = createClient('https://<your-project>.supabase.co', '<your-anon-key>');
- Add your Supabase URL and anon key from your Supabase dashboard.
- Create a file (e.g.,
- Use Supabase in your app:
- Import and use the
supabaseclient for authentication, database, and storage features. - Example usage:
import { supabase } from '@/lib/supabase'; const { data, error } = await supabase.from('events').select('*');
- Import and use the
- Environment variables (optional):
- Use a
.envfile and a library likereact-native-dotenvfor managing secrets.
- Use a
expo start— Start the development servereas build -p android— Build Android APK in the cloudexpo run:android— Build and run locally (requires Android SDK)npm run lint— Lint the codebasenpm install— Install dependencies
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.