Skip to content

About

A Smart marketplace application for buying, selling and renting with AI pricing

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📱 TechShare - AI-Powered Smart Marketplace for Gadgets

TechShare is an Android mobile application designed for renting and selling electronics and gadgets. Built with Java, Firebase, and an integrated AI-driven recommendation engine, TechShare enables users to list, discover, rent, or buy gadgets seamlessly through a smart, personalized marketplace experience.


✨ Features

👤 User Authentication & Profile Management

  • Firebase Auth Integration: Secure signup and login using email/password.
  • Role Management: Unified user accounts supporting both buyer/renter and seller/lessor roles.
  • User Profiles: Manage active listings, transaction history, rental agreements, and saved items.

🛍️ Smart Marketplace & Rental System

  • Dual Transaction Model: List gadgets for outright sale or short-term rental with daily/weekly rates.
  • Dynamic Search & Filtering: Filter gadgets by category (laptops, cameras, gaming consoles, audio gear), price range, availability, and condition.
  • Item Management: Detailed product pages complete with high-resolution image carousels, specification breakdowns, seller information, and rental terms.
  • Booking & Rental Tracking: Track active rental periods, return deadlines, and reservation statuses in real time.

🤖 AI Recommendation Engine

  • Personalized Feeds: Surfaces relevant gadget listings based on user browsing history, category preferences, and past rental habits.
  • Collaborative Filtering: Recommends accessories and complementary gadgets based on items similar users rented or bought.

🏗️ System Architecture

TechShare utilizes a hybrid architecture connecting an Android client to Firebase cloud services and an external Flask-based AI recommendation service:

┌────────────────────────────────────────────────────────┐
│               TechShare Android App                    │
│             (Java / XML Layouts / Material UI)         │
└───────────────┬────────────────────────┬───────────────┘
                │                        │
                ▼                        ▼
┌───────────────────────────────┐ ┌───────────────────────────────┐
│       Firebase Backend        │ │     Flask AI Service API      │
│  • Firebase Auth              │ │  • Python / Scikit-Learn      │
│  • Cloud Firestore Database   │ │  • Recommendation Matrix      │
│  • Firebase Cloud Storage     │ │  • Content & Item Filtering   │
└───────────────────────────────┘ └───────────────────────────────┘


🛠️ Tech Stack

  • Frontend / Android: Java, Android SDK (API 24+), XML Layouts, Material Design Components
  • Backend Services: Firebase Authentication, Cloud Firestore (NoSQL), Firebase Storage
  • AI Engine & API: Python 3, Flask REST API, Pandas, Scikit-Learn
  • Asynchronous Networking: Retrofit 2 / Volley, Glide (Image Caching)
  • IDE & Tooling: Android Studio, Git, Postman

🗄️ Database Schema (Firestore)

The Firestore database is structured into four main collections:

  • users/: Stores user metadata, contact information, role, and preference vectors for AI recommendations.
  • gadgets/: Stores product details (title, description, category, sale price, rental rate, availability status, owner ID, image URLs).
  • transactions/: Tracks purchases and rental agreements (item ID, buyer ID, seller ID, total price, rental start/end dates, transaction status).
  • recommendations/: Cached recommendation scores generated by the AI engine for fast mobile retrieval.

🚀 Getting Started

Prerequisites

  • Android Studio (Electric Eel or newer recommended)
  • JDK 11 or higher
  • Android device or emulator running API Level 24 (Android 7.0) or higher
  • A configured Firebase Project

1. Mobile App Setup

  1. Clone the repository:
git clone [https://github.com/your-username/TechShare.git](https://github.com/your-username/TechShare.git)
cd TechShare
  1. Configure Firebase:
  • Go to the Firebase Console.
  • Create a new project and register an Android app using your package name (com.techshare.app).
  • Enable Authentication (Email/Password), Firestore Database, and Firebase Storage.
  • Download google-services.json and move it to the app/ directory:
TechShare/app/google-services.json

  1. Build and Run:
  • Open the project folder in Android Studio.
  • Wait for Gradle dependencies to sync.
  • Run the application on an emulator or physical device (Shift + F10).

📁 Repository Structure

TechShare/
├── app/
│   ├── src/
│   │   ├── main/
│   │   │   ├── java/com/techshare/app/
│   │   │   │   ├── activities/     # MainActivity, LoginActivity, ProductDetailActivity
│   │   │   │   ├── adapters/       # GadgetAdapter, RentalAdapter, CategoryAdapter
│   │   │   │   ├── models/         # Gadget, User, Transaction, Recommendation
│   │   │   │   ├── network/        # Firebase Helpers & Flask API Services
│   │   │   │   └── utils/          # Date formatters, validation constants
│   │   │   ├── res/
│   │   │   │   ├── layout/         # XML UI layouts
│   │   │   │   ├── drawable/       # Icons and graphics
│   │   │   │   └── values/         # Colors, strings, themes
│   │   │   └── AndroidManifest.xml
│   └── google-services.json
├── build.gradle                    # Project-level Gradle setup
└── README.md                       # Project documentation


👤 Author

  • Developer: Mesum Hussain
  • Degree: B.Sc. in Computer Science (Software Technology)

About

A Smart marketplace application for buying, selling and renting with AI pricing

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages