Skip to content

Latest commit

Β 

History

History
87 lines (64 loc) Β· 2.17 KB

File metadata and controls

87 lines (64 loc) Β· 2.17 KB

MazExpress Admin - Phase 1: Authentication

Modern shipping management platform with Apple-inspired "Liquid Glass" UI, built with React + TypeScript + Firebase.

πŸš€ Features

  • ✨ Liquid Glass UI - Frosted glass effects, soft glows, micro-animations
  • πŸ” Firebase Authentication - Email/password login with persistence
  • 🌍 i18n Ready - Full English/Arabic support with RTL
  • 🎨 Token-based Design - Consistent, maintainable styling
  • ⚑ Redux Toolkit - State management ready for Phase 2
  • β™Ώ Fully Accessible - ARIA labels, keyboard navigation

πŸ“¦ Tech Stack

  • React 18 + TypeScript + Vite
  • Firebase Authentication
  • Redux Toolkit + RTK Query
  • Tailwind CSS + shadcn/ui
  • Framer Motion + React Hook Form + Zod
  • i18next + dayjs

πŸ› οΈ Setup

  1. Clone and install:
pnpm install
  1. Set up environment variables:
cp .env.example .env
# Add your Firebase credentials to .env

⚠️ SECURITY NOTE: Never commit .env to version control. It contains sensitive credentials.

  1. Start development server:
pnpm dev
  1. Test login with your Firebase users

πŸ”‘ Firebase Configuration

Your Firebase credentials are set in .env. To update:

  • Go to Firebase Console
  • Project Settings > General
  • Copy config values to .env

🌐 Localization

Toggle between English/Arabic using the language button (top-right). RTL automatically applies for Arabic.

πŸ“ Project Structure

src/
β”œβ”€β”€ app/              # Providers & store
β”œβ”€β”€ components/       # UI components & layouts
β”œβ”€β”€ hooks/            # Custom hooks (useAuth, useLocale)
β”œβ”€β”€ screens/          # Page components (Login, Dashboard)
β”œβ”€β”€ utilities/        # Firebase, i18n, Redux, schemas
└── App.tsx          # Route configuration

🎯 Phase 1 Complete

  • βœ… Login page with glass design
  • βœ… Firebase email/password auth
  • βœ… EN/AR localization + RTL
  • βœ… Redux store configured
  • βœ… Protected routes
  • βœ… Sign-out functionality

πŸ“ Next Steps (Phase 2)

  • Dashboard screens
  • User management
  • Shipment tracking
  • Wallet features
  • Warehouse management

Built with ❀️ by MazExpress Team