Getting Started
Welcome to AppBoost! 👋
The complete Expo React Native starter template with everything you need to launch your mobile app faster. This template includes RevenueCat payments, push notifications, Appwrite database integration, and a library of pre-built components - all ready to customize for your app.
This guide will walk you through setting up and running the AppBoost starter template on your local machine.
Prerequisites
Before you begin, ensure you have the following installed:
- Node.js
- npm or yarn
- Git
Step 1: Clone the Repository
First, clone the starter template repository to your local machine:
git clone https://github.com/samuel-yost-org/AppBoost.git [project-name]
cd [project-name]Step 2: Install Dependencies
Install all project dependencies using npm:
npm installThis will install all required packages including Expo, React Native, and other dependencies.
Step 3: Configure Services (Optional)
Environment Variables
Create a .env file in the root directory and add your RevenueCat keys and Expo project ID:
# RevenueCat (for payments)
EXPO_PUBLIC_RC_APPLE_KEY=your_revenuecat_apple_key
EXPO_PUBLIC_RC_GOOGLE_KEY=your_revenuecat_google_key
# Expo Project for push notifications
EXPO_PUBLIC_PROJECT_ID=your_expo_project_idSee the .env.example file for reference.
Appwrite Configuration
If you want to use Appwrite for backend features like push token storage, configure it in config/appwrite.js:
const config = {
projectId: "your_project_id",
endpoint: "https://cloud.appwrite.io/v1",
db: "your_database_id",
platform: {
bundleId: "com.yourcompany.yourapp",
packageName: "com.yourcompany.yourapp",
},
col: {
expoPushTokens: "your_collection_id",
},
}See the Appwrite Configuration Guide for detailed setup instructions.
Step 4: Running the App
Option A: Development Build (Recommended)
For the best development experience with native features, use EAS Build:
- Install EAS CLI globally:
npm install --global eas-cli- Build a development version for your platform:
eas build --profile development --platform androidor for iOS:
eas build --profile development --platform ios-
Follow the prompts to:
- Login to your Expo account
- Configure the project (if first time)
-
Once the build completes, install the APK/IPA on your device by scanning the QR code or downloading directly.
-
Start the development server:
npx expo startOption B: Expo Go (Limited Features)
For quick testing without native features:
npx expo startThen scan the QR code with the Expo Go app on your device.
Note: Some features like RevenueCat payments may not work in Expo Go.
Option C: Build and Run Locally
Android
To run directly on Android:
npx expo run:androidiOS
To run directly on iOS (macOS only):
npx expo run:iosTroubleshooting
”expo module not installed” error
Make sure you’ve run npm install in the project directory.
Android SDK not found
If you get Android SDK errors, you can install the Android SDK or use EAS Build instead of local builds:
eas build --profile development --platform androidDependencies issues
Try clearing the cache and reinstalling:
rm -rf node_modules
npm cache clean --force
npm installDevelopment Commands
npm run start # Start development server
npm run android # Run on Android
npm run ios # Run on iOSBuild Profiles
Available EAS build profiles:
development- Development build with dev clientpreview- APK for testingproduction- Production build for app stores