rodneydelacruz/barangayos ? reverse-engineered prompt

Reverse engineered prompt

Build me a modern web app for a Philippine barangay office that helps replace paper records with a digital system that still works when the internet is shaky.

I want staff to be able to manage residents, households, document requests, blotter cases, visitor logs, barangay assets, schedules, and basic finance records like budgets, fund sources, revenues, and disbursements. It should also have clear roles for admin, staff, and viewer, with login protection and different permissions for each person.

Please make it feel like a real office tool, with a clean dashboard, searchable tables, useful reports, charts, dark mode, and a mobile friendly design. It should be installable like an app and handle offline use by saving changes locally and syncing when the connection comes back. Use current best practices and look up any docs online if you need to. I also want it set up so it can run locally for development and be easy to deploy with Docker.