尚未检测到更新。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';