bwnyasse 9bdb250714 feat: add firebase configuration and deployment scripts
This commit introduces Firebase configuration files (.firebaserc,
firebase.json) and updates the Makefile to include deployment
commands for different environments (dev, staging).

The .firebaserc file defines Firebase projects for development and
staging, along with hosting targets.

The firebase.json file configures hosting settings, including
rewrites and ignores. It defines hosting targets for the main app
in dev and staging, and a separate target for an internal launchpad.

The Makefile is updated to include:
- GCP project IDs for dev and staging.
- Environment detection (ENV variable).
- Conditional variables based on the environment (GCP_PROJECT_ID,
 FIREBASE_ALIAS, HOSTING_TARGET).
- Deployment commands for the launchpad and the main app.
- The build command now passes the environment variable to the
 frontend build process.

The internal launchpad is added to firebase/internal-launchpad/index.html
to provide quick access to application URLs and Firebase/GCP
consoles for different environments.

A patch script is added to inject the environment label into the
Dashboard page.

The index.html title is changed to KROW.

These changes enable streamlined deployment and environment
management for the KROW application.
2025-11-14 08:53:00 -05:00

KROW Workforce Platform

This monorepo contains the complete source code for the KROW Workforce platform, including the web frontend, mobile applications, and backend services.

🚀 What's in this Monorepo?

  • /firebase/: Contains the Firebase Data Connect configuration (GraphQL schema, queries, mutations) and Firebase Hosting configuration.
  • /frontend-web/: The React/Vite web application used by administrators and managers.
  • /mobile-apps/: Contains the two Flutter-based mobile applications:
    • client-app: For clients managing events.
    • staff-app: For staff members managing their shifts and profile.
  • /docs/: All project documentation (vision, roadmaps, architecture, guides).
  • /scripts/: Automation scripts used by the Makefile.
  • /secrets/: Contains sensitive credentials (ignored by Git).

▶️ Getting Started

This project uses a central Makefile to orchestrate all common tasks.

  1. Install Dependencies:

    make install
    

    (This will install dependencies for the web frontend. Mobile dependency installation is handled within their respective directories.)

  2. Run a Service:

    • To run the web frontend: make dev
    • (Additional commands for mobile and backend will be added as development progresses.)
  3. See All Commands: For a full list of available commands, run:

    make help
    

🤝 Contributing

New to the KROW team? Start here to set up your environment and understand our development practices: CONTRIBUTING.md


📚 Documentation Overview

This section provides a quick guide to the most important documentation files in this monorepo, ordered by logical reading flow:

Description
No description provided
Readme 25 MiB
Languages
Dart 56.5%
JavaScript 20.8%
TypeScript 11.8%
Python 2.2%
C++ 2%
Other 6.7%