Commit Graph

1494 Commits

Author SHA1 Message Date
bwnyasse
a0d820d3ce feat: add backend api specification document
This commit introduces a new document, `docs/01-backend-api-specification.md`, which outlines the backend API specification for the KROW Workforce platform. This document serves as a reference for the development of the backend using Firebase Data Connect and Cloud Functions, replacing the Base44 backend. It includes details on authentication, data API, services API, security, migration notes, and implementation priority.
feat: remove obsolete documentation files

This commit removes several obsolete documentation files that are no longer relevant to the project. The removed files include:

- `docs/01-product-functional-roadmap.md`: This file contained the product roadmap, which is now outdated.
- `docs/02-architecture-overview.md`: This file provided an overview of the architecture, which has been superseded by more recent documentation.
- `docs/03-backend-api-specification.md`: This file contained the backend API specification, which has been replaced by `docs/01-backend-api-specification.md`.
- `docs/04-strategy-technical-roadmap.md`: This file outlined the technical roadmap, which is now outdated.
- `docs/05-project-plan.md`: This file contained the project plan, which is no longer current.
- `docs/06-maintenance-guide.md`: This file provided a maintenance guide, which is no longer applicable.
- `docs/07-reference-base44-api-export-v3.md`: This file contained a reference to the Base44 API export, which is no longer needed.

chore: remove obsolete documentation files

This commit removes several documentation files that are no longer
relevant or have been superseded by other documentation. Removing
these files helps to keep the repository clean and organized.

The following files were removed:

- `docs/07-reference-base44-api-export.md`
- `docs/08-reference-base44-prompts.md`
- `docs/09-sred-tracking.md`
- `docs/10-development-conventions.md`
- `docs/flows/vendor-flow.md`
- `docs/issues/template.md`
- `docs/prompts/create-codemagic-monorepo.md`
- `docs/prompts/create-full-architecture-diagram-flutter.md`
- `docs/prompts/create-mermaid-be-diagrams-flutter.md`
- `docs/prompts/create-mermaid-overview-flutter.md`
- `docs/prompts/create-mermaid-usecase-flutter.md`
2026-01-10 21:36:01 -05:00
bwnyasse
d43a14ee0c clean 2026-01-10 21:22:35 -05:00
bwnyasse
90455d9181 chore: remove unused issue templates and reference documentation
The issue templates for Base44 backend validation, frontend
update, and SR&ED tasks, as well as the Base44 entity schemas
reference document, are no longer needed and have been removed
to reduce clutter and improve maintainability. These files were
specific to a previous architecture and are not relevant to the
current project.
2026-01-10 21:01:58 -05:00
bwnyasse
b8d156b35a feat(Makefile): restructure Makefile into modular files for better organization and maintainability
feat(Makefile): introduce common.mk for shared variables and environment configuration
feat(Makefile): create web.mk for web frontend-related tasks
feat(Makefile): create launchpad.mk for internal launchpad deployment tasks
feat(Makefile): create mobile.mk for mobile app development tasks
feat(Makefile): create dataconnect.mk for Data Connect management tasks
feat(Makefile): create tools.mk for development tools like git hooks
feat(Makefile): remove admin-web specific tasks and files as the admin console is no longer actively maintained
feat(Makefile): update help command to reflect the new modular structure and available commands
feat(Makefile): remove base44 export workflow as it is no longer relevant
feat(Makefile): remove IAP configuration as it is no longer used
feat(Makefile): remove harness-related tasks as they are no longer relevant

The Makefile has been significantly refactored to improve organization and maintainability. The changes include:

- Modularization: The monolithic Makefile has been split into smaller, more manageable files, each responsible for a specific area of the project (web, launchpad, mobile, dataconnect, tools).
- Common Configuration: Shared variables and environment configuration are now centralized in common.mk.
- Removal of Unused Tasks: Tasks related to the admin console, base44 export workflow, IAP configuration, and API test harness have been removed as they are no longer relevant.
- Updated Help Command: The help command has been updated to reflect the new modular structure and available commands.
- Improved Readability: The modular structure makes the Makefile easier to read and understand.
- Maintainability: The modular structure makes it easier to maintain and update the Makefile.
- Scalability: The modular structure makes it easier to add new tasks and features to the Makefile.
2026-01-10 20:59:18 -05:00
bwnyasse
d0a536ffa4 chore: remove obsolete documentation files
These files contained outdated analysis and planning
related to the mobile app and data modeling. They are
no longer relevant to the current state of the project
and were removed to reduce clutter and confusion.

docs: remove outdated mock data analysis document

The file `validation_staff_mock_dataconecct_last_update.md`
contained an outdated analysis of mock data structures
compared to the Data Connect schema. This information is
no longer relevant and the file has been removed to
maintain a clean and up-to-date repository.
docs: remove outdated mock data analysis document v2

The file `validation_staff_mock_dataconecct_v2.md`
contained an outdated analysis of mock data structures
compared to the Data Connect schema. This information is
no longer relevant and the file has been removed to
maintain a clean and up-to-date repository.
2026-01-10 12:20:22 -05:00
bwnyasse
01158b8a89 Clean old base44 project reference architecture 2026-01-10 12:17:00 -05:00
bwnyasse
d2e84addb1 Remove legacy Mobile apps folders 2026-01-10 12:00:39 -05:00
Oloodi Admin
3c8c09dfda Merge pull request #193 from Oloodi/prep-sprint-3
Prep sprint 3
2026-01-10 11:49:54 -05:00
bwnyasse
a5a4eae255 feat(launchpad): implement secure email hashing for access control
This commit introduces a more secure method for verifying user
access to the internal launchpad by hashing email addresses.

- Replaces the plain-text email list with SHA-256 hashes.
- Adds a script to generate these hashes from `iap-users.txt`.
- Updates the launchpad HTML to hash the input email and compare
 it against the `allowed-hashes.json` file.
- Updates Makefile to generate hashes before deploy and serve.
- Adds .keep file for krow_client folder.
2026-01-10 11:48:54 -05:00
bwnyasse
ba938be7ad feat(Makefile): replace Cloud Run deployment with Firebase Hosting for launchpad
feat(firebase.json): remove site property from api-harness hosting config
feat(firebase): migrate launchpad to firebase hosting with auth

This commit migrates the internal launchpad from Cloud Run with IAP
to Firebase Hosting with Firebase Authentication. This change
simplifies the deployment process and leverages Firebase's authentication
capabilities for user access control.

The following changes were made:

- Updated the Makefile to remove Cloud Run deployment tasks and add
 Firebase Hosting deployment tasks.
- Removed the Dockerfile and .gcloudignore files, as they are no longer
 needed for Firebase Hosting.
- Updated the firebase.json file to configure Firebase Hosting for the
 launchpad.
- Modified the launchpad's index.html to include Firebase Authentication
 logic.
- Updated the iap-users.txt file to be used as a whitelist for Firebase
 Authentication.
- Added a launchpad-dev target to run the launchpad locally using the
 Firebase Hosting emulator.
- Removed the configure-iap-launchpad target, as IAP is no longer used.
- Removed the site property from the api-harness hosting configuration
 in firebase.json, as it is not needed.

The migration to Firebase Hosting provides the following benefits:

- Simplified deployment process.
- Firebase Authentication for user access control.
- Improved scalability and reliability.
- Reduced operational overhead.
2026-01-10 11:18:48 -05:00
José Salazar
4dd9e1949f Merge pull request #191 from Oloodi/190-back-update-user-entity-in-data-connect-to-match-staff_app_mvp
190 back update user entity in data connect to match staff app mvp
2025-12-26 15:21:16 -05:00
José Salazar
9acd01237e adding new filed to user 2025-12-26 15:18:56 -05:00
José Salazar
5136b1d6b5 other modifications days ago 2025-12-26 15:14:51 -05:00
José Salazar
ec496fa1ba Merge pull request #189 from Oloodi/187-category-short-description-of-the-task
187 category short description of the task
2025-12-18 19:21:11 -05:00
José Salazar
671003932c just enums 2025-12-18 19:12:11 -05:00
José Salazar
7d3185708c adding instrucction for web free? 2025-12-18 19:11:38 -05:00
José Salazar
6101a56a60 modification schema of event 2025-12-18 19:10:35 -05:00
José Salazar
b1dd5629c4 Merge pull request #186 from Oloodi/183-web-enable-order-visualization-via-event-entity-vendororders
183 web enable order visualization via event entity vendororders
2025-12-18 10:07:54 -05:00
José Salazar
01180bc757 just chaging enum values to work with the backend 2025-12-18 09:50:54 -05:00
José Salazar
cb29f73685 value modications from front 2025-12-18 09:50:23 -05:00
José Salazar
b9fa4d5a90 Merge branch 'dev' into 183-web-enable-order-visualization-via-event-entity-vendororders 2025-12-17 12:05:29 -05:00
José Salazar
75b3466f87 Merge pull request #185 from Oloodi/184-backend-update-staff-entity-schema
adding missing schema for event
2025-12-17 12:03:28 -05:00
José Salazar
d98b816cc7 adding missing schema for event 2025-12-17 11:58:19 -05:00
José Salazar
7ccb87b52c no changes 2025-12-17 09:09:59 -05:00
José Salazar
28368ac729 modification adding limit and where to event 2025-12-17 09:09:22 -05:00
José Salazar
30110cd241 modification for list 2025-12-17 09:08:46 -05:00
José Salazar
7bbc248ce1 Merge pull request #182 from Oloodi/175-web-vendor-role-end-to-end-flow-integration
175 web vendor role end to end flow integration
2025-12-16 09:35:44 -05:00
José Salazar
ea3fe79c8e modification just for test staff crud 2025-12-15 17:26:22 -05:00
José Salazar
e7546715b2 updating important things for the functionality of the front 2025-12-15 17:22:06 -05:00
José Salazar
6399b5f25a chaging vendor_id to string 2025-12-15 17:21:11 -05:00
José Salazar
c8cd750b4f modifiying staff schema for front 2025-12-15 14:32:54 -05:00
José Salazar
af10193ecc creation snake_case to camelCase convertor for create and update 2025-12-14 19:02:35 -05:00
José Salazar
f15b946f4b Merge pull request #180 from Oloodi/175-web-vendor-role-end-to-end-flow-integration
175 web vendor role end to end flow integration
2025-12-12 12:55:26 -05:00
José Salazar
f260d9183a Merge pull request #177 from Oloodi/176-category-short-description-of-the-task
new flow for vendor on web
2025-12-12 10:10:28 -05:00
José Salazar
56918f4374 new flow for vendor on web 2025-12-12 10:06:51 -05:00
José Salazar
ae35b32a92 adding order to sdk 2025-12-12 09:59:20 -05:00
José Salazar
0b88060783 adding new line to ignore dataconnect for front web free 2025-12-12 09:58:43 -05:00
José Salazar
e766b049b6 solving problem with selected roll 2025-12-11 12:26:05 -05:00
José Salazar
e1b706c124 Merge pull request #173 from Oloodi/151-web-stable-dataconnect-integration-layer-minimizing-frontend-changes-on-future-regenerations
151 web stable dataconnect integration layer minimizing frontend changes on future regenerations
2025-12-04 18:08:03 -05:00
José Salazar
48d86436e3 new temporal folder to test 2025-12-04 18:02:28 -05:00
José Salazar
cf18fdb16b chaging schemas for front 2025-12-04 17:05:27 -05:00
José Salazar
ef88639463 validating data 2025-12-03 13:35:20 -05:00
Boris-Wilfried
d78862dff9 Merge pull request #172 from Oloodi/156-infra-initialize-krow_staff-flutter-app
feat: [infra] Initialize krow_staff Flutter App
2025-12-03 10:51:13 -05:00
Achintha Isuru
3993cffc1a feat: Update Android package and application ID, and introduce product flavors for different build environments. 2025-12-03 01:42:36 -05:00
Achintha Isuru
323968c79c feat: Implement Flutter flavors for dev, stage, and prod environments with corresponding configurations and build scripts. 2025-12-03 01:41:15 -05:00
Achintha Isuru
02470e196f feat: Initialize Flutter project for krow_staff app including multi-platform configurations and build artifacts. 2025-12-03 00:34:41 -05:00
Achintha Isuru
8e7753b324 feat: legacy mobile apps created 2025-12-02 23:51:04 -05:00
Achintha Isuru
850441ca64 feat: Add a comprehensive development plan for new mobile app features and infrastructure, updating issue creation tooling. 2025-12-02 23:49:17 -05:00
José Salazar
269019e588 Merge pull request #171 from Oloodi/155-infra-enhance-makefile-script-to-new-preserve-necessary-files
adding new files and folder to save in makefale integrate-export
2025-12-02 15:35:53 -05:00
José Salazar
21beea94fc adding new files and folder to save in makefale integrate-export 2025-12-02 14:12:12 -05:00