# GeoMentor Africa
GeoMentor Africa is a mobile-first spatial learning and biodiversity platform for students, schools, mentors and domain experts.
This repository contains the first pilot slice:
- Student biodiversity dashboard and school impact summary
- Public pilot landing page with role-specific entry points
- Public Trust and Safety Centre covering safeguarding, privacy, consent, pilot terms and support
- Mobile field capture with camera, GPS accuracy and offline IndexedDB drafts
- Mentor portfolio, supervised sessions and guidance requests
- Expert validation queue where AI suggestions never become verified automatically
- Teacher evidence-quality gate before expert scientific validation
- School operations dashboard for consent, review queues and privacy-safe mapping
- Role-aware portal that reveals only verified workspaces after sign-in
- PostgreSQL/PostGIS schema with school-scoped row-level security policies
- Responsive layouts and rendered-route tests
## Supabase connection
The pilot uses Supabase Auth, Postgres/PostGIS, Row Level Security, and a private `observation-evidence` storage bucket. Copy `.env.example` to `.env.local` and set the project URL plus publishable key. Never expose a Supabase secret or service-role key in browser code.
Apply `supabase/migrations/0001_core.sql` through `0006_school_operations_dashboard.sql` in order through the Supabase migration pipeline. Schools, mentors and experts verify their email before submitting a review application. Students verify a school-managed email, enter a teacher-issued class code, and remain pending until teacher review and consent recording. The onboarding administration workspace reviews applications, creates class codes, records consent decisions, and issues email-bound staff invitations. Migrations 0005 and 0006 activate the controlled student → teacher → expert workflow and the protected school operations summary.
## Product boundaries
The current hosted surface is a functional product …