A highly responsive, offline-first iPad POS system with facial recognition support (Phase 2), built with React, Vite, and Zustand.
cd frontend
npm install
npm run dev- Fork this repo
cd frontend && cp .env.example .env- Edit
.envwith your Firebase project values npm install && npm run dev
- Create a Firebase project at console.firebase.google.com
- Enable Authentication (Email/Password or Google)
- Enable Cloud Firestore
- Copy your Web app config to
.env - Deploy Firestore rules:
firebase deploy --only firestore:rules - Update
firestore.rulesto allow your email domain (replacetalented.com.tw) - (Optional) Set up App Check for production
See frontend/.env.example for all required variables. Key ones:
| Variable | Description |
|---|---|
VITE_FIREBASE_API_KEY |
Firebase Web API key |
VITE_FIREBASE_PROJECT_ID |
Firebase project ID |
VITE_ALLOWED_EMAIL_DOMAIN |
Email domain for operator access (e.g. your-company.com) |
- Specifications:
docs/specs/ - Architecture & Plans:
docs/superpowers/