Skip to content

Repository files navigation

OpenDailyReports: a daily report for a road resurfacing site, drafted from the foreman's message and waiting for the office to approve it

OpenDailyReports

Construction daily reports for every site: drafted from what the foremen send from their phone, approved by the office, and locked once approved.

An open-source app template provided by Clawnify.com.

Deploy with Clawnify

See it in action

Conceptual UI illustrations of the app's main capabilities, with fictional example data. Open an image to see the details.

From a message to a draft Approved means locked
A daily report drafted from what the foreman sent, waiting for approval An approved correction that replaces the original report in every total
Progress from the record Foremen by phone number
Progress per contract item from approved reports, with drafts shown apart Adding a foreman with their phone number and the sites they report for

What it does

  • One report per site, day and foreman. Who worked (own crew and subcontractors, people and hours), which machines ran and how long they stood still, the weather as seen on site, what was done, delays and their cause, instructions received and incidents, with the day's photos.
  • Foremen don't fill in forms. They send their day to your agent the way they already do, in a message with photos. The agent knows them by their number, files a draft on their site, keeps their message as written, and asks them what is missing. Someone on two sites is asked which one.
  • Quantities against the contract. Each site carries its bill of quantities. A report records how much of each item was done and where; lump-sum work is recorded as a percent of the item.
  • Approved means locked. Once someone in the office approves a report it never changes. A mistake is fixed with a correction: a new report that names the one it corrects and, once approved, replaces it in every total, while the original stays readable.
  • Progress from the record. Per item, to date and for any period, counted from approved reports only, with quantities still in drafts shown apart. The basis of a progress claim to the client.
  • The morning view. Every active site on one screen, the ones with no report yet marked, drafts waiting for approval, and photos that still need a site.

The weather is never filled in from a forecast: a daily report records what happened on site, so it comes from the people who were there.

Stack

Part What
UI React 19, Tailwind, shadcn/ui
API Hono, OpenAPI described at /api/openapi.json
Data SQLite (schema.sql)
Photos Object storage

Run it locally

pnpm install
pnpm dev

The UI runs on Vite and the API on port 8796; the dev proxy signs requests in as a local workspace.

License

MIT