尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗An accountability platform for Ghana. Residents see what their MP, Minister, MMDCE and Assembly Member promised, the evidence posted for each promise, and whether people in the area confirm or dispute it.
| Route | What it does |
|---|---|
/ | Home: search, use my location, browse officials by role, latest evidence |
/my-area | Turns on location, finds the district with PostGIS, lists the area's officials on a map |
/explore | All districts on a map shaded by promises kept, search and region filter |
/officials, /officials/[id] | Directory and public profile: scorecard, promises, evidence with confirm or dispute, petitions, area map |
/promises/[id] | Promise detail with the evidence timeline and community verdict |
/official/login, /official/setup | Officials sign in, pick roles and area, upload proof of office |
/official/dashboard | Post project updates (in app camera photos are GPS stamped), petitions and new promises; answer disputes |
/admin | Verify officials and approve new promises (profiles with is_admin) |
cp .env.example .env.local
npm install
npm run dev
In the Supabase SQL editor, after they have signed in once:
update public.profiles set is_admin = true
where id = (select id from auth.users where email = '[email protected]');
Profiles marked is_demo (Kwame Asante-Mensah, Ama Owusu-Boateng, Kojo Danso, Salamatu Dawuni) are fictional sample data. Remove them before launch:
delete from public.officials where is_demo;
delete from public.constituencies where name = 'Nkwanta Central';
delete from public.electoral_areas where name = 'Abenase';