Quick Start
Prerequisites
Section titled “Prerequisites”Before you begin, ensure you have the following installed:
- Flutter SDK (3.24 or later)
- Dart SDK (3.5 or later)
- Melos for monorepo management
- Node.js (18+ for Firebase emulators)
Installation
Section titled “Installation”1. Clone the Repository
Section titled “1. Clone the Repository”git clone https://github.com/your-org/co2-target-asset-management-melos.gitcd co2-target-asset-management-melos2. Install Melos
Section titled “2. Install Melos”dart pub global activate melos3. Bootstrap the Monorepo
Section titled “3. Bootstrap the Monorepo”melos bootstrapThis will install all dependencies and link local packages.
4. Run the Admin App
Section titled “4. Run the Admin App”cd apps/adminflutter run -d chrome # For web# orflutter run # For connected deviceProject Structure
Section titled “Project Structure”The monorepo is organized as follows:
.├── apps/ # Applications│ ├── admin/ # Main admin app entry point│ ├── admin_frontend/ # UI components and views│ └── admin_composition/ # Domain wiring│├── dart_packages/ # Shared packages│ ├── co2/ # Domain packages│ │ ├── domains/ # Bounded contexts│ │ ├── contracts/ # Shared contracts│ │ └── intents/ # Commands│ └── nomos/ # Event-sourcing framework│└── functions/ # Firebase Cloud FunctionsNext Steps
Section titled “Next Steps”- Installation Guide - Detailed setup instructions
- Architecture Overview - Understand the system design
- User Guide - Learn how to use the application