npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

Iโ€™ve always been into building performant and accessible sites, but lately Iโ€™ve been taking it extremely seriously. So much so that Iโ€™ve been building a tool to help me optimize and monitor the sites that I build to make sure that Iโ€™m making an attempt to offer the best experience to those who visit them. If youโ€™re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, ๐Ÿ‘‹, Iโ€™m Ryan Hefnerย  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If youโ€™re interested in other things Iโ€™m working on, follow me on Twitter or check out the open source projects Iโ€™ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soonโ€“ish.

Open Software & Tools

This site wouldnโ€™t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you ๐Ÿ™

ยฉ 2025 โ€“ย Pkg Stats / Ryan Hefner

create-gufran-expo-app

v2.0.4

Published

๐Ÿš€ Ultimate Expo React Native Boilerplate - Create production-ready Expo apps instantly with Firebase, Navigation, TypeScript, and more. No git clone needed, works offline!

Readme

๐Ÿš€ @gufran/expo-boilerplate

npm version downloads license

Ultimate Expo React Native Boilerplate - A professionally configured Expo environment designed for production-ready applications. Skip the tedious setup and dive straight into building amazing features!


โœจ Why Choose This Boilerplate?

This boilerplate provides a complete, production-ready setup with enterprise-grade features:

  • ๐Ÿ”ฅ Firebase Integration - Authentication, Push Notifications, Analytics
  • ๐ŸŽจ Professional UI - Pre-built components and screens
  • ๐Ÿ—‚๏ธ Clean Architecture - Organized folder structure that scales
  • โ˜๏ธ Cloud Storage - Azure Blob Storage for file uploads
  • ๐Ÿ” Authentication Flow - Complete auth screens and navigation
  • ๐Ÿ“ฑ Native Features - Camera, Image Picker, Permissions
  • ๐Ÿ”” Push Notifications - Notifee and Firebase Messaging
  • ๐ŸŒ API Management - TanStack Query configured
  • ๐Ÿ“Š State Management - Zustand for efficient state handling
  • ๐ŸŽฏ TypeScript - Full type safety

๐Ÿš€ Quick Start

Create a new project with a single command:

npx @gufran/expo-boilerplate my-awesome-app

Or use npm directly:

npm create @gufran/expo-boilerplate my-awesome-app

With yarn:

yarn create @gufran/expo-boilerplate my-awesome-app

Interactive Mode

Simply run without a project name to enter interactive mode (will prompt for project name and bundle ID):

npx @gufran/expo-boilerplate

๐Ÿ“‹ Command Options

npx @gufran/expo-boilerplate [project-name] [options]

Options:

| Option | Description | |--------|-------------| | -b, --bundle-id <bundleId> | Bundle identifier (e.g., com.myapp) | | --skip-install | Skip automatic dependency installation | | --skip-git | Skip git initialization | | --npm | Use npm instead of yarn | | -h, --help | Display help information | | -V, --version | Display version number |

Examples:

# Create project with custom bundle ID
npx @gufran/expo-boilerplate my-app -b com.myapp

# Create project with npm
npx @gufran/expo-boilerplate my-app --npm

# Skip installation and git init
npx @gufran/expo-boilerplate my-app --skip-install --skip-git

# Full command with all options
npx @gufran/expo-boilerplate my-app -b com.myapp --npm

# Interactive mode (prompts for name and bundle ID)
npx @gufran/expo-boilerplate

๐Ÿ“ฆ What's Included?

๐ŸŽฏ Core Technologies

  • Expo SDK 54 - Latest Expo framework
  • React Native 0.81 - Latest stable RN version
  • TypeScript - Full type safety
  • React Navigation 7 - Native stack navigation

๐Ÿ”ฅ Firebase Services

  • Firebase App & Messaging
  • Push Notifications with Notifee
  • Cloud Messaging
  • Analytics ready

๐Ÿ’พ State & Data Management

  • Zustand - Lightweight state management
  • TanStack Query - Server state management
  • MMKV - Fast local storage
  • React Native Gesture Handler - Smooth gestures

๐ŸŽจ UI & Media

  • Image Picker & Camera
  • Image Zoom capabilities
  • SVG support
  • Reanimated animations
  • Keyboard-aware scrolling

โ˜๏ธ Cloud Services

  • Azure Blob Storage integration
  • Background file upload
  • Progress tracking

๐Ÿ” Authentication

  • Complete auth flow
  • Context-based auth management
  • Secure storage

๐Ÿ“ Project Structure

my-app/
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ assets/          # Images, fonts, icons
โ”‚   โ”œโ”€โ”€ components/      # Reusable UI components
โ”‚   โ”‚   โ””โ”€โ”€ common/      # Common components
โ”‚   โ”œโ”€โ”€ config/          # App configuration
โ”‚   โ”œโ”€โ”€ constants/       # Constants, themes, strings
โ”‚   โ”œโ”€โ”€ contexts/        # React contexts (Auth, etc.)
โ”‚   โ”œโ”€โ”€ hooks/           # Custom React hooks
โ”‚   โ”œโ”€โ”€ navigation/      # Navigation setup
โ”‚   โ”‚   โ”œโ”€โ”€ AuthStack.tsx
โ”‚   โ”‚   โ”œโ”€โ”€ MainStack.tsx
โ”‚   โ”‚   โ””โ”€โ”€ RootNavigator.tsx
โ”‚   โ”œโ”€โ”€ screens/         # App screens
โ”‚   โ”‚   โ”œโ”€โ”€ auth/        # Authentication screens
โ”‚   โ”‚   โ”œโ”€โ”€ chat/        # Chat features
โ”‚   โ”‚   โ”œโ”€โ”€ clubs/       # Club management
โ”‚   โ”‚   โ”œโ”€โ”€ events/      # Events
โ”‚   โ”‚   โ””โ”€โ”€ ...
โ”‚   โ”œโ”€โ”€ services/        # API services
โ”‚   โ”œโ”€โ”€ stores/          # Zustand stores
โ”‚   โ”œโ”€โ”€ types/           # TypeScript types
โ”‚   โ””โ”€โ”€ utils/           # Utility functions
โ”œโ”€โ”€ android/             # Android native code
โ”œโ”€โ”€ ios/                 # iOS native code
โ”œโ”€โ”€ FirebaseFiles/       # Firebase configuration files
โ””โ”€โ”€ assets/              # Root assets

๐Ÿ› ๏ธ Setup Steps

1. Create Your Project

# Interactive mode (recommended)
npx @gufran/expo-boilerplate

# Or specify project name and bundle ID
npx @gufran/expo-boilerplate my-app -b com.myapp

cd my-app

The CLI will automatically:

  • Create project directory
  • Copy all template files (no git clone needed!)
  • Update package.json with your project name
  • Update app.json with your project name and bundle IDs
  • Install dependencies (unless --skip-install)
  • Initialize git repository (unless --skip-git)

2. Configure Firebase

Add your Firebase configuration files:

For Android:

# Add google-services.json to:
android/app/google-services.json

For iOS:

# Add GoogleService-Info.plist to:
ios/ClubYakka/GoogleService-Info.plist

3. Install iOS Dependencies

cd ios && pod install && cd ..

4. Verify Configuration

The CLI automatically updates app.json with your bundle IDs, but you can verify:

{
  "expo": {
    "name": "my-app",
    "slug": "my-app",
    "version": "1.0.0",
    "ios": {
      "bundleIdentifier": "com.myapp"
    },
    "android": {
      "package": "com.myapp"
    }
  }
}

5. Start Development

# Start Metro bundler
npm start

# Run on Android
npm run android

# Run on iOS
npm run ios

๐Ÿ”ง Available Scripts

| Script | Description | |--------|-------------| | npm start | Start Metro bundler | | npm run android | Run on Android device/emulator | | npm run ios | Run on iOS device/simulator | | npm run web | Run on web browser | | npm run pod | Install iOS pods | | npm run clear | Clear Metro cache | | npm run clean | Clean Android build |


๐ŸŽจ Key Features Explained

Authentication Flow

Complete authentication system with:

  • Login/Register screens
  • OTP verification
  • Password reset
  • Protected routes
  • Auth context management

Navigation Structure

Three-level navigation:

  1. RootNavigator - Entry point
  2. AuthStack - Unauthenticated screens
  3. MainStack - Authenticated screens

API Integration

Pre-configured with:

  • Axios for HTTP requests
  • TanStack Query for caching
  • Error handling
  • Request/response interceptors

File Upload

Background upload with:

  • Azure Blob Storage integration
  • Progress tracking
  • Multiple file support
  • Error handling

Push Notifications

Complete notification system:

  • Firebase Cloud Messaging
  • Notifee for local notifications
  • Permission handling
  • Deep linking support

๐Ÿ” Environment Setup

Create .env file in root:

API_BASE_URL=https://api.yourapp.com
AZURE_STORAGE_URL=your-azure-url

๐Ÿ“ฑ Platform-Specific Notes

iOS

  • Requires Xcode 14+
  • Run pod install after installing dependencies
  • Configure signing in Xcode
  • Update Info.plist with required permissions

Android

  • Requires Android Studio
  • Update google-services.json
  • Configure signing in android/app/build.gradle
  • Set up keystore for release builds

๐Ÿงช Testing

# Run tests (when configured)
npm test

# Type checking
npx tsc --noEmit

๐Ÿ“š Documentation

For detailed documentation on specific features:


๐Ÿค Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ› Issues

Found a bug? Please open an issue with a detailed description.


๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


๐Ÿ‘ค Author

Gufran Gaury


๐ŸŒŸ Show Your Support

Give a โญ๏ธ if this project helped you!


๐Ÿ“ฎ Support

For support, email [email protected] or open an issue on GitHub.


Built with โค๏ธ by Gufran Gaury

Happy Coding! ๐Ÿš€