Skip to content

Latest commit

ย 

History

211 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Batrina Logo

๐Ÿ›๏ธ Revolutionary Social E-Commerce Platform

Where Fashion Meets Technology & Community

Flutter Firebase Cubit

Batrina Banner

๐Ÿ“ฑ App Showcase

Experience the Future of Shopping

โ˜€๏ธ View Light Mode Screenshots
Onboarding

๐ŸŽฏ Onboarding
Welcome experience

Authentication

๐Ÿ” Authentication
Login & Sign up

Home

๐Ÿ  Home Screen
Dynamic feed & carousels

Categories

๐Ÿ“‚ Categories
Browse by category

Product

๐Ÿ‘• Product Details
Black variant selected

Product White

๐ŸŽจ Color Change
White variant - Live update

Wishlist

โค๏ธ Wishlist
Saved favorites

Cart

๐Ÿ›’ Shopping Cart
Checkout & promo codes

Shipping

๐Ÿ“ Shipping Address
Manage addresses

Order Details

๐Ÿ“ฆ Order Details
Track your order

Chat

๐Ÿ’ฌ Social Chat
Talk to real buyers

Profile

๐Ÿ‘ค User Profile
Account management

Languages

๐ŸŒ Language Settings
10+ languages support

Profile Arabic

๐Ÿ‡ธ๐Ÿ‡ฆ RTL Support
Profile in Arabic

Add Product

โž• Add Product
Admin - Create new product

Edit Product

โœ๏ธ Edit Product
Admin - Manage products

๐ŸŒ™ View Dark Mode Screenshots
Onboarding Dark

๐ŸŽฏ Onboarding
Welcome experience

Authentication Dark

๐Ÿ” Authentication
Login & Sign up

Home Dark

๐Ÿ  Home Screen
Dynamic feed & carousels

Categories Dark

๐Ÿ“‚ Categories
Browse by category

Product Dark

๐Ÿ‘• Product Details
Black variant selected

Product White Dark

๐ŸŽจ Color Change
White variant - Live update

Wishlist Dark

โค๏ธ Wishlist
Saved favorites

Cart Dark

๐Ÿ›’ Shopping Cart
Checkout & promo codes

Shipping Dark

๐Ÿ“ Shipping Address
Manage addresses

Order Details Dark

๐Ÿ“ฆ Order Details
Track your order

Chat Dark

๐Ÿ’ฌ Social Chat
Talk to real buyers

Profile Dark

๐Ÿ‘ค User Profile
Account management

Languages Dark

๐ŸŒ Language Settings
10+ languages support

Profile Arabic Dark

๐Ÿ‡ธ๐Ÿ‡ฆ RTL Support
Profile in Arabic

Add Product Dark

โž• Add Product
Admin - Create new product

Edit Product Dark

โœ๏ธ Edit Product
Admin - Manage products


๐ŸŽฏ What is Batrina?

Batrina is a revolutionary social e-commerce platform that transforms online fashion shopping into a community-driven experience. Built with Flutter and Firebase, it's not just an appโ€”it's the future of how people shop.

๐Ÿ’ก The Vision

"Shopping shouldn't be lonely. What if you could ask real buyers about products? What if links opened directly in the app? What if e-commerce was actually... social?"

Batrina makes this vision a reality. It's the first platform where commerce and community truly merge.


โœจ Revolutionary Features

๐Ÿ’ฌ Social Shopping - The Game Changer

The feature that makes Batrina truly unique

๐ŸŒŸ Chat with Real Buyers

  • See reviews on any product
  • Click on reviewer profiles
  • Send chat requests to ask questions
  • Get genuine feedback about sizing, quality, fit
  • Share products within conversations
  • Build a shopping community
  • Get honest, real feedback before buying

Why This Matters:

  • โœ… Real conversations with real people
  • โœ… Build trust through community
  • โœ… Share products within chats
  • โœ… Make informed decisions

Example Flow:

See 5โญ review โ†’ Click reviewer โ†’ Send chat request 
โ†’ "Hi! How's the fit?" โ†’ Get honest answer 
โ†’ Make informed decision
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Product Page    โ”‚
โ”‚โญโญโญโญโญ 4.8  โ”‚
โ”‚                  โ”‚
โ”‚  Recent Reviews: โ”‚
โ”‚                  โ”‚
โ”‚  ๐Ÿ‘ค Sarah M.     โ”‚
โ”‚  "Perfect fit!   โ”‚
โ”‚   Great quality" โ”‚
โ”‚  [๐Ÿ’ฌ Chat]       โ”‚
โ”‚                  โ”‚
โ”‚  ๐Ÿ‘ค Ahmed K.     โ”‚
โ”‚  "True to size"  โ”‚
โ”‚  [๐Ÿ’ฌ Chat]       โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ”‚
    Click Chat
         โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  ๐Ÿ’ฌ Chat Room    โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚ You:             โ”‚
โ”‚ Hi! How's the    โ”‚
โ”‚ sizing? I'm      โ”‚
โ”‚ usually Medium.  โ”‚
โ”‚                  โ”‚
โ”‚ Sarah:           โ”‚
โ”‚ Perfect! Go with โ”‚
โ”‚ your usual size. โ”‚
โ”‚ Quality is       โ”‚
โ”‚ amazing ๐Ÿ‘       โ”‚
โ”‚                  โ”‚
โ”‚ [๐Ÿ›๏ธ Share Item]  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ”— Deep Linking Magic

Seamless integration between app and the outside world:

โœ‰๏ธ Email Verification (Zero Friction)

Traditional Way:

1. Sign up
2. Get email with 6-digit code
3. Go back to app
4. Type code manually
5. Hope you didn't mistype

Batrina Way:

1. Sign up
2. Click link in email
3. App opens automatically
4. Account verified โœ…
5. Done!

๐Ÿ”‘ Password Recovery

One-Click Reset:

  • Forgot password โ†’ Email sent
  • Click link โ†’ App opens
  • Enter new password โ†’ Done!

No code copying, no switching between apps.

๐Ÿ›๏ธ Product Sharing

Share Anywhere, Open Anywhere:

You find amazing shirts
        โ†“
Click share โ†’ WhatsApp
        โ†“
Friend receives:
"Check these out! 
 https://batrina-76502.web.app/product?id=p01"
        โ†“
Friend clicks link
        โ†“
Batrina opens automatically
        โ†“
Product page loads
        โ†“
Friend adds to cart!

๐ŸŽจ Live Product Customization

The most advanced product experience in mobile e-commerce:

๐ŸŽจ Real-Time Color Selection

When a user selects a color:

  • Product images update instantly
  • No page reload, no waiting
  • Smooth animations

๐Ÿ“ Smart Size Selection

  • Each color variant has different sizes
  • Each size shows real-time stock count
  • "12 available" updates live from Firebase

๐Ÿง  The Intelligence Behind It

Product Matrix:
โ”œโ”€โ”€ Red
โ”‚   โ”œโ”€โ”€ S (12 in stock) โœ…
โ”‚   โ”œโ”€โ”€ M (0 in stock) โŒ
โ”‚   โ””โ”€โ”€ L (5 in stock) โœ…
โ”œโ”€โ”€ Blue
โ”‚   โ”œโ”€โ”€ S (8 in stock) โœ…
โ”‚   โ”œโ”€โ”€ M (15 in stock) โœ…
โ”‚   โ””โ”€โ”€ L (3 in stock) โœ…
โ””โ”€โ”€ Black
    โ”œโ”€โ”€ S (0 in stock) โŒ
    โ”œโ”€โ”€ M (20 in stock) โœ…
    โ””โ”€โ”€ L (7 in stock) โœ…

Real-time sync with Firebase Firestore!

graph TD
    A[๐Ÿ‘• Product Page] --> B{Select Color}
    B -->|๐Ÿ”ด Red| C[Images Update]
    B -->|๐Ÿ”ต Blue| D[Images Update]
    B -->|โšซ Black| E[Images Update]
    
    C --> F{Choose Size}
    F -->|S| G[โœ… 12 available]
    F -->|M| H[โŒ Sold Out]
    F -->|L| I[โœ… 5 available]
    
    G --> J[Add to Cart]
    I --> J
    
    J --> L[๐Ÿ›’ Cart Updated]
Loading

Technical Excellence:

  • Matrix-based inventory system
  • Real-time Firebase listeners
  • Optimistic UI updates
  • Smart image caching
  • Lazy loading for performance
  • Smooth animations (60 FPS)

User Experience:

  • Instant visual feedback
  • No waiting, no loading
  • Clear stock indicators

๐Ÿ›’ Intelligent Cart & Checkout

๐Ÿง  Concurrency Control

The Challenge: Two users buying the last item simultaneously.

Our Solution:

// Transaction-based stock control
Firebase.runTransaction(() {
  1. Lock product
  2. Get current stock
  3. Validate quantity
  4. If available โ†’ Deduct & proceed
  5. If sold โ†’ Alert user
  6. Release lock
});

What Happens:

  • User A adds last item to cart
  • User B tries to checkout with it
  • System detects conflict
  • User B sees: "Sorry, just sold out!"
  • Seamless error handling

User Experience:

  • โœ… Never oversell products
  • โœ… Instant feedback
  • โœ… Alternative suggestions
  • โœ… Smooth error handling

๐ŸŽŸ๏ธ Promo Code System

Features:

  • Auto-validate codes
  • Percentage discounts (20% OFF)
  • Expiry date checking

Smart Application:

Cart Total: $200

User enters: SAVE20
โ†’ Validates code
โ†’ Checks expiry (Valid โœ…)
โ†’ Applies 20% discount
โ†’ New Total: $160

Admin Control:

  • Create unlimited codes
  • Set expiry dates
  • Track usage stats
  • Performance analytics

๐Ÿ” Secure & Seamless Authentication

๐Ÿ”‘ Multi-Provider Login

Email & Password

  • Secure registration
  • Strong password validation
  • Email verification required

๐Ÿ”ต Google Sign-In

  • One-tap authentication
  • No password needed
  • Secure OAuth flow

๐ŸŽฌ Onboarding Experience

  • Beautiful intro screens
  • Feature highlights
  • Swipe navigation
  • Smooth animations
  • First-time user guide

โœ‰๏ธ Smart Verification Flow

Traditional Apps        Batrina
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€      โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
1. Sign up             1. Sign up
2. Get 6-digit code    2. Get email
3. Switch to email     3. Click link
4. Memorize code       4. โœ… Verified!
5. Switch to app       
6. Enter code          Total: 2 steps
7. Hope it's right     
8. โœ… Maybe verified   

Total: 8 steps

Password Recovery

โœ… Request reset
โœ… Click email link
โœ… App opens
โœ… Enter new password
โœ… Done!

The Batrina Difference:

  • Zero code typing
  • No app switching
  • One-click process
  • Instant verification
  • Professional UX

๐Ÿ  Dynamic Home Experience

๐ŸŽ  Home Screen

Features:

  • Auto-scrolling carousels
  • Featured product banners
  • Category quick access
  • Bottom navigation bar

Performance:

  • Lazy loading
  • Image caching
  • Smooth scrolling
  • 60 FPS animations

๐Ÿ” Smart Search

Real-Time Search:

  • Instant results
  • Search-as-you-type

Advanced Filters:

  • ๐Ÿ’ฐ Price range slider
  • โญ Rating (1-5 stars)
  • ๐Ÿ“ Categories

Sorting Options:

  • Price: Low to High
  • Price: High to Low
  • Rating: Best first

๐Ÿ‘• Product Details

Rich Information:

  • HD image gallery
  • Swipe-through photos
  • Color variants
  • Description details
  • Stock status

Social Elements:

  • โญ Average rating
  • ๐Ÿ“Š Rating breakdown
  • ๐Ÿ’ฌ Reviews
  • ๐Ÿ”— Share product
  • โค๏ธ Add to wishlist

๐Ÿ‘ค Complete Profile System

๐Ÿ“ Personal Info

  • Full name
  • Profile photo
  • Email address

โค๏ธ Wishlist

Features:

  • Save unlimited items
  • Fast add to cart button

๐Ÿ“ฆ Order Management

  • Complete history
  • Status tracking
Pending
    โ†“
Processing
    โ†“
Shipped
    โ†“
Out for Delivery
    โ†“
Delivered โœ…

๐Ÿ“ Addresses

Features:

  • Multiple addresses
  • Default selection
  • Address validation
  • Delete option

๐ŸŒ Truly Global Platform

๐Ÿ—ฃ๏ธ 10+ Languages Supported

๐Ÿ‡ฌ๐Ÿ‡ง
English
๐Ÿ‡ธ๐Ÿ‡ฆ
ุงู„ุนุฑุจูŠุฉ
๐Ÿ‡จ๐Ÿ‡ณ
ไธญๆ–‡
๐Ÿ‡ฎ๐Ÿ‡ณ
เคนเคฟเคจเฅเคฆเฅ€
๐Ÿ‡ช๐Ÿ‡ธ
Espaรฑol
๐Ÿ‡ซ๐Ÿ‡ท
Franรงais
๐Ÿ‡ฉ๐Ÿ‡ช
Deutsch
๐Ÿ‡ฏ๐Ÿ‡ต
ๆ—ฅๆœฌ่ชž
๐Ÿ‡ต๐Ÿ‡น
Portuguรชs
๐Ÿ‡ท๐Ÿ‡บ
ะ ัƒััะบะธะน

โš™๏ธ Localization Features

Complete Translation:

  • Every screen
  • Every button
  • Every message
  • Error messages
  • Notifications

Smart Detection:

  • Auto-detect device language
  • Switch anytime
  • Persistent preference
  • No app restart needed

RTL Support:

  • Perfect Arabic layout
  • Mirrored UI elements
  • Text alignment

๐ŸŽจ Adaptive Theming

โ˜€๏ธ Light Mode

  • Clean & minimal design
  • High readability
  • Eye-friendly colors
  • Professional aesthetic
  • Optimized contrast

๐ŸŒ™ Dark Mode

  • True black (#000000)
  • OLED screen optimized
  • Battery saving
  • Reduced eye strain
  • Premium look & feel
  • Perfect for night use

Smart Switching:

  • Auto-detect system theme
  • Manual toggle in settings
  • Smooth transitions
  • Consistent colors
  • Adaptive icons

๐Ÿ‘‘ Powerful Admin Dashboard

One App, Two Experiences - User Mode & Admin Mode

๐Ÿ“ฆ Product Management

Add Products:

  • Upload multiple images
  • Set product name & description
  • Define color variants
  • Add sizes per color
  • Set stock for each variant
  • Category assignment

Edit Products:

  • Update any field instantly
  • Modify pricing
  • Adjust inventory
  • Change images
  • Update descriptions
  • Manage variants

Smart Interface:

  • Visual product grid
  • Quick edit buttons
  • Drag-and-drop reordering

๐Ÿ“Š Business Control

Order Management:

  • View all orders (real-time)
  • Order details view
  • Update order status

Order Flow:

New Order
    โ†“
Review Details
    โ†“
Mark as Processing
    โ†“
Update Tracking Info
    โ†“
Mark as Shipped
    โ†“
Delivered

๐Ÿ” Access Control: Admin users see "Switch to Admin Mode" button in profile. One tap transforms the entire app into a management dashboard with full business control.


๐Ÿ› ๏ธ Technical Excellence

Built with Modern Tech Stack


Flutter 3.24+
Cross-platform framework

Firebase Suite
Complete backend solution

Cubit + Provider
State management

Material Design 3
Modern UI system

Firebase Integration

๐Ÿ” Authentication - Email, Google OAuth, session management
๐Ÿ“Š Firestore - Real-time database, offline support, transactions
๐Ÿ“ Storage - Image uploads, CDN delivery, compression

State Management

Cubit - Simple states (loading, success, error)
Provider - Complex states (cart, user, theme)

Performance Optimizations

โšก Image Caching - Cached network images, lazy loading
โšก Code Splitting - Feature-based modules, on-demand loading
โšก Database Indexing - Optimized Firestore queries
โšก Pagination - Infinite scroll, load on demand
โšก Asset Optimization - Compressed images, vector icons


๐Ÿ’Ž What Makes Batrina Special

๐Ÿš€ Innovation

Amazing social shopping platform where users chat with real buyers before purchasing. Revolutionary approach to e-commerce.

๐ŸŽจ Design Excellence

Pixel-perfect UI with Dark/Light themes, 10+ languages, smooth animations, and attention to detail in every screen.

โšก Performance

Optimized for 60 FPS, instant loading, works on low-end devices, and handles thousands of products smoothly.

๐Ÿ”— Seamless UX

Deep linking everywhere - from email verification to product sharing. Zero friction between app and external world.

๐Ÿง  Smart Logic

Real-time stock control, concurrency handling, intelligent error recovery, and transaction-based operations.

๐Ÿ‘‘ Complete Solution

Two apps in one - Full shopping experience for users + Powerful admin dashboard for business management.


Made with โค๏ธ using Flutter

ยฉ 2026 Batrina - Redefining Social Commerce

About

๐Ÿ›๏ธ A revolutionary Social E-Commerce platform built with Flutter & Firebase. Features real-time buyer chat ๐Ÿ’ฌ, seamless deep linking ๐Ÿ”—, dynamic stock matrix, multi-language support ๐ŸŒ and a complete Admin dashboard. Where fashion meets community.

Topics

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages