Fuel Finder Nigeria

2022
React Native Firebase Google Maps API
Fuel Finder Nigeria App

Project Overview

Fuel Finder Nigeria is a web and mobile app that helps users locate the nearest fuel stations, check current prices, and see fuel availability in real time. It was inspired by the frequent fuel scarcity and pricing inconsistencies across different regions in Nigeria.

Key Features

  • Geo-location based search for nearby stations
  • Real-time fuel availability status
  • Price comparison between stations
  • User-submitted updates and feedback

Technical Implementation

The app was built using React Native for cross-platform compatibility, Firebase for real-time data, and Google Maps API for location services:

Sample Location Search

import React, { useState, useEffect } from 'react';
import { GooglePlacesAutocomplete } from 'react-native-google-places-autocomplete';

const FuelStationSearch = ({ onSelect }) => {
  return (
    <GooglePlacesAutocomplete
      placeholder="Search for fuel stations"
      minLength={2}
      autoFocus={false}
      returnKeyType="search"
      listViewDisplayed="auto"
      fetchDetails={true}
      onPress={(data, details = null) => {
        onSelect({
          name: data.description,
          location: details.geometry.location,
          address: details.formatted_address
        });
      }}
      query={{
        key: 'YOUR_GOOGLE_API_KEY',
        language: 'en',
        types: 'gas_station',
        components: 'country:ng'
      }}
    />
  );
};

export default FuelStationSearch;

Results

  • Improved fuel accessibility for 500+ users during test phase
  • Reduced average time spent locating fuel stations by 65%
  • Created transparency in fuel pricing across regions
  • Community-driven updates improved data accuracy