A website where neighbours in Erbil and the other Runaki cities of the Kurdistan Region report power cuts and water problems, see what is happening in their neighbourhood, and where the electricity and water teams handle those reports.
It works in Sorani, Kurmanji, Arabic and English, on cheap phones and slow connections, and residents never need an account.
This is a university course project (CSE301, Group 4). It is not an official government service.
For residents
- Report a power or water problem in under a minute, with an optional exact spot and photo.
- Tap "Me too" or "Fine here" on a neighbour's report. One report alone shows as "not confirmed yet"; a place only turns red when a second person reports it or the team confirms it.
- See each neighbourhood's status, a map of the city, planned cuts and news.
- Get alerts for chosen neighbourhoods when a cut is confirmed and when a crew is on the way.
- Find the neighbourhood generators, their hours and prices, and whether each one is running.
- Reports made with no signal are kept and sent when the phone is back online.
For generator owners
- A private link, with no account or password, to say whether the generator is running and to set its hours and price.
For the electricity and water teams
- Personal accounts with roles (staff, supervisor, admin), each limited to its own service.
- An outage desk: every report gets a number (OUT-1142), and the team can confirm it, send a crew with an expected time back, mark it fixed, reopen it or hide it.
- A map of open reports, generators and the utilities' own sites (substations, water plants, pumping stations, reservoirs), with an optional 3D view.
- Private requests about a single house, chats with residents, photo approval, planned cuts, news and pop-up messages.
- An activity log of who did what.
- Server: Node.js, Express 5 and SQLite (one file), with numbered SQL migrations.
- Pages: plain HTML, CSS and JavaScript. No framework and no build step.
- Live updates: Server-Sent Events. Alerts: Web Push, and SMS or WhatsApp where a gateway is set up.
- Maps: Leaflet with OpenStreetMap, and MapLibre with a self-hosted map file for the 3D view.
- Tests: Node's test runner, plus Playwright and axe for every page on a phone-sized screen.
You need Node.js 20.12 or newer.
npm install
npm run seed
npm start
Then open http://localhost:8080.
npm run seed is optional. It fills the site with example reports, planned cuts, generators and team accounts so there is something to look at. The example team accounts are admin, sara, karwan, rozhan and dilan, all with the password try-it-locally. Sign in at http://localhost:8080/team.html.
Without the seed, create your first admin account with:
npm run create-admin -- --username admin --name "Admin"
| Command | What it does |
|---|---|
npm run dev |
Runs the site and restarts it when server code changes |
npm test |
Runs every test, including each page in a real browser |
npm run lint |
Checks the code with ESLint |
npm run format |
Formats the code with Prettier |
npm run backup |
Makes a backup of the database |
public/ the pages, styles, scripts, fonts and images
server/ routes, services (all the rules), middleware and database migrations
views/ shared parts of pages (header, footer)
scripts/ seed data, admin account, backup and other helpers
test/ automated tests
docs/ API, architecture, deployment, operations and design rules
deploy/ example server configuration
main holds the finished, working version and is protected: changes reach it only through a pull request that another member approves and that passes the tests. Day-to-day work goes into dev through feature branches (feature/..., fix/...). Versions are tagged (v1.0.0) and listed under Releases and in CHANGELOG.md. See CONTRIBUTING.md for the commands and rules.
docs/architecture.md: how the system is put togetherdocs/api.md: every API endpointdocs/deploy.md: putting it on a serverdocs/operations.md: running it day to day, including the 3D map setupdocs/design-rules.md: the look, colours and wording rules
Residents are never asked for a name. Phones are recognised only by a scrambled code, which is removed from reports after 7 days. Exact report locations are shown only to the team and deleted after 7 days. Reports are deleted after 180 days.
Code and design © 2026 NorthPoint Tech. All rights reserved. Made for a course project, non-commercial use only.
Third-party parts keep their own licences:
- Map data © OpenStreetMap contributors (ODbL). Leaflet (BSD-2), MapLibre (BSD-3), Protomaps basemaps (BSD-3).
- Three.js (MIT), used for the 3D street on the home page.
- Fonts: Barlow and Noto Sans Arabic (SIL Open Font License).
- Car models on the home page: "2022 Toyota Camry (XV70) Hybrid" and "2023 Nissan Altima / Teana" by Ddiaz Design, CC BY-NC-SA 4.0. A third model (2025 Toyota Camry) is included for this course project only and belongs to its original author.
The reports, generators and team accounts created by npm run seed are examples, not real data.