How stan0719/smart-ground-truthing-and-digital-biodiversity-system-for-plant-species works
This is a plant-conservation and biodiversity system with web and mobile clients, a Node API, and PostgreSQL. A central workflow is field users discovering plant records or submitting observations, followed by conservation staff reviewing submissions and maintaining records and species information. The README documents the clients’ dependence on the API and PostgreSQL; the server excerpt shows route modules being mounted, including IoT monitoring. The graph also preserves authentication, QR, and species-photo capabilities. Some subsystem paths are directory-level because their implementation files were not sampled; historical AI and hardware prototypes are excluded.
Main entry points: server.js Plant API server · src Web application · screens Mobile application · auth.mjs Web authentication server
Components 21
User applications
- Web application
web/src - Mobile application
mobileapp/screens - Mobile API client
mobileapp/utils/plantApi.js - Web auth client
web/src/services/auth.ts
Plant API
- Plant API server
plant-conservation-backend/server.js - Plant domain logic
plant-conservation-backend/domain.cjs
Conservation workflows
- Plant and species catalog
plant-conservation-backend/plant-detail.cjs - Plant submissions
plant-conservation-backend/plant-submissions.cjs - Observation review
plant-conservation-backend/observation-queue.cjs - Species requests
plant-conservation-backend/species-requests.cjs - Record change history
plant-conservation-backend/record-changes.cjs - Species photo management
plant-conservation-backend/species-photo-library.cjs - QR plant access
plant-conservation-backend/qr-plant-mode.cjs - Staff notifications
plant-conservation-backend/staff-notifications.cjs - IoT monitoring
plant-conservation-backend/iot.cjs
Identity and access
- Web authentication server
web/server/auth.mjs - Face service
web/server/face-service.mjs - Mobile face authentication
mobileapp/face_backend/server.py
Persistence and monitoring
- Plant PostgreSQL
plant-conservation-backend/database.cjs - Web PostgreSQL access
web/server/postgres.mjs
Other components
- Field users and staff
Connections 27
- Field users and staff → Web application: use
README.md - Field users and staff → Mobile application: use
README.md - Web application → Plant API server: request API
README.md - Mobile application → Mobile API client: submit requests
mobileapp/screens/RecordChangeReview.js - Mobile API client → Plant API server: call API
README.md - Web application → Web auth client: check session
web/src/App.vue - Web auth client → Web authentication server: authenticate
README.md - Web authentication server → Web PostgreSQL access: query accounts
web/server/auth.mjs - Web authentication server → Face service: use face service
web/server/face-service.mjs - Mobile application → Mobile face authentication: face login
- Plant API server → Plant domain logic: use domain
plant-conservation-backend/server.js - Plant API server → Plant and species catalog: mount routes
plant-conservation-backend/server.js - Plant API server → Plant submissions: mount routes
plant-conservation-backend/server.js - Plant API server → Observation review: mount routes
plant-conservation-backend/server.js - Plant API server → Species requests: mount routes
plant-conservation-backend/server.js - Plant API server → Record change history: mount routes
plant-conservation-backend/server.js - Plant API server → Species photo management: mount routes
plant-conservation-backend/server.js - Plant API server → QR plant access: mount routes
plant-conservation-backend/server.js - Plant API server → Staff notifications: mount routes
plant-conservation-backend/server.js - Plant API server → IoT monitoring: mount routes
plant-conservation-backend/server.js - Plant API server → Plant PostgreSQL: connect pool
plant-conservation-backend/server.js - Field users and staff → IoT monitoring: monitor environment
- Web application → Web PostgreSQL access: load public knowledge
web/src/App.vue - Plant API server → Web PostgreSQL access: load auth config
plant-conservation-backend/server.js - Web application → Plant and species catalog: browse records
README.md - Field users and staff → Plant submissions: submit observations
README.md - Field users and staff → Observation review: review submissions
README.md