google / ground-platform
Ground hosted components: Web console, Cloud Functions, db config
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing google/ground-platform in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewGround Ground is a map-first data collection platform which seamlessly connects the offline world with cloud-based storage and computation. It addresses the needs of non-technical local community members, smallholder farmers, and professionals and researchers working in the areas of climate, sustainability, and humanitarian aid. It consists of a web app for survey management, and an Android app for offline data collection backed by Firebase. **Note:** Ground is not an officially supported product; it is being developed and maintained on a best-effort basis. About this repository This repo contains Ground's hosted components and related docs: | Directory | Component | | ------------------------ | ------------------------------------------------------------------------------------------------------------- | | docs/ | _Public documentation_, including Ground homepage | | firestore/ | _Firestore config_ defining Firebase rules and other database settings | | functions/ | _Firebase Cloud Functions_, used to sync with Google Sheets and import/export data to/from other data sources | | lib/ | _Ground TypeScript libs_, used by both and | | proto/ | _Ground data model_, shared between web and mobile apps and used to infer the structure of data in Firestore | | storage/ | _Firebase Storage config_ for offline imagery and user photo storage | | web/ | _Ground web console_ used to set up and manage surveys, and to view, edit, and analyze collected data online | Contributing guidelines Read through our contributing guidelines to learn about our submission process, coding rules and more. Quick start One time setup • Install nvm • Install and use Node.js **22**: • Install Firebase CLI and Nx: Build and run locally • Install dependencies: • Build and start local Firebase emulator and Angular dev server: • Once started, the app will be available at http://localhost:4200. For development, and testing, the Firebase Emulator Suite UI is accessible at http://localhost:4000. Changes to the web app in and to the Cloud Functions in are automatically rebuilt and reloaded on save. **Note**: The local build variant doesn't require API keys to run, but warnings related to missing Maps API keys will appear in the console. Authentication is also disabled. The local emulator is preloaded with a demo survey. Run to save the updated demo data to the local filesystem for use on the next run. Run against live staging environment Members of the core maintainers team can run the app against the live staging environment with: Deploy To build and deploy to staging, first sign into Firebase with: You can then deploy to prod with: To deploy to your own production Firebase: • Override in environment.production.ts with your Firebase project config. • Update the project ID placeholder in package.json. • Run . Next steps For instructions on how to deploy to your own production Firebase project, see the Ground Developer's Guide.