A modern ride-sharing application built with Expo and React Native.
- Overview
- Prerequisites
- Installation
- Running the App
- Project Structure
- Available Scripts
- Troubleshooting
- Contributing
- License
SuiRides is a ride-sharing application that connects drivers and passengers. This app is built using Expo and React Native, providing a cross-platform experience for iOS, Android, and web.
Before you begin, ensure you have the following installed:
- Node.js (v14 or newer)
- npm or Yarn
- Expo CLI
- For iOS development: macOS with Xcode
- For Android development: Android Studio with Android SDK
-
Clone the repository:
git clone https://github.com/MauriceOmbewa/SuiRides.git cd SuiRides -
Install dependencies:
npm install # or yarn install
To start the development server:
npm run dev
# or
yarn devThis will start the Expo development server and display a QR code in your terminal.
- iOS: Scan the QR code with your iPhone's camera app
- Android: Scan the QR code with the Expo Go app
- Web: Press 'w' in the terminal or navigate to the URL shown in the terminal
To build the app for web deployment:
npm run build:web
# or
yarn build:webThis will generate a production-ready web build in the web-build directory.
suirides-app/
├── app/ # Main application code using Expo Router
├── assets/ # Static assets like images and fonts
├── components/ # Reusable UI components
├── .expo/ # Expo configuration files
├── node_modules/ # Dependencies
├── package.json # Project configuration and dependencies
└── tsconfig.json # TypeScript configuration
npm run dev- Start the development servernpm run build:web- Build the app for web deploymentnpm run lint- Run linting checks
-
Expo server not starting
- Ensure all dependencies are installed correctly
- Try clearing the cache:
expo start -c
-
Build errors
- Check that you have the latest dependencies:
npm install - Verify your Node.js version is compatible
- Check that you have the latest dependencies:
-
Device connection issues
- Ensure your device is on the same network as your development machine
- Try using a tunnel connection:
expo start --tunnel
- Fork the repository
- Create your feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add some amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.