A real-time bus tracking system consisting of two mobile applications: one for bus drivers to share their location and another for users to track bus locations and routes and bus information.
The project contains two main applications:
- Mobile application for bus drivers
- Tracks and shares real-time location
- Records activity logs
- Provides statistical information
- Mobile application for passengers
- View real-time bus locations
- Search and view route details
- Track buses on the map
- View driver details
- Real-time location sharing
- Activity logging
- Distance tracking
- Statistical dashboard
- Firebase integration for real-time updates
- Real-time bus tracking
- Route listing and details
- Interactive maps
- Driver information
- Route search functionality
- Location-based services
- Frontend Framework: React Native with Expo
- Backend/Database: Firebase
- Maps Integration: React Native Maps
- Real-time Updates: Firebase Realtime Database
- Authentication: Firebase Authentication
- Clone the repository:
git clone https://github.com/moksh5042/Real-Time-Bus-Tracker.git- Install dependencies for Bus Driver App:
cd BusDriverTrackerExpo
npm install- Install dependencies for User App:
cd ../UserExpo
npm install- Set up Firebase configuration:
- Create a Firebase project
- Add your Firebase configuration in
firebaseConfig.jsfor both apps
- Start the applications:
# For Bus Driver App
cd BusDriverTrackerExpo
expo start
# For User App
cd UserExpo
expo start- Node.js (v14 or higher)
- npm or yarn
- Expo CLI
- Firebase account
- Google Maps API key
- Set up your Firebase configuration in
firebaseConfig.js - Configure your Google Maps API key:
- Create a
.envfile in the UserExpo directory - Add your Google Maps API key:
GOOGLE_MAPS_API_KEY=your_api_key_here - This key will be used for both the React Native Maps integration and the native platforms (iOS/Android)
- Never commit the
.envfile to version control - Run
expo prebuildafter updating the environment variables
- Create a
- Update any environment-specific variables
Project Owner: moksh5042 GitHub Repository: Real-Time-Bus-Tracker
- Thanks to all contributors who have helped with the development
- Expo team for the amazing mobile development framework
- Firebase team for the robust backend services