- Clone the repository:
git clone https://github.com/yourusername/party-4-u.git
cd TriageAI- Install dependencies:
npm install- Start the development server:
npm run dev- Build for production:
npm run buildnpm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production build locallynpm run lint- Run ESLintnpm run test- Run tests
- Vue 3
- Vite
- TypeScript
- Tailwind CSS
- Node.js 16.x or higher
- npm 7.x or higher
- Install Node.js
- Install Firebase CLI:
npm install -g firebase-toolsIn your project folder:
firebase initSelect:
- Emulators
- Authentication
- (Optional) Firestore, Functions, etc.
This keeps everything local and risk-free.
firebase use --addChoose demo-myapp as the project ID (or anything with a demo- prefix).
firebase emulators:start --project demo-myapp
The emulators will be available at:
- Auth Emulator: http://127.0.0.1:9099
- Emulator UI: http://localhost:4000
Create a .env file in the root directory with:
VITE_FIREBASE_API_KEY=your_api_key
VITE_FIREBASE_AUTH_DOMAIN=your_auth_domain
VITE_FIREBASE_PROJECT_ID=your_project_id
VITE_FIREBASE_STORAGE_BUCKET=your_storage_bucket
VITE_FIREBASE_MESSAGING_SENDER_ID=your_messaging_sender_id
VITE_FIREBASE_APP_ID=your_app_id
npm install
npm run dev- Start the emulators
- Run the development server
- Try signing in with:
- Email/Password
- Google Sign-In (simulated in emulator)
- The emulator provides a safe environment for testing auth flows
- No real Firebase credentials needed for development
- Auth state persists between emulator restarts
- Emulator UI provides debugging tools and auth state inspection