Building a useful application is not just about writing code. It starts with understanding a problem, organizing ideas, making technical decisions, and gradually turning those decisions into something people can use.

For Kiroween 2026, I decided to explore that process by building RELAY, an emergency coordination Progressive Web App, with Kiro.

The idea behind RELAY

During emergencies, information can become scattered. Communities may struggle to organize incident reports, communicate important updates, and identify which resources are available to support people in need.

I wanted to explore whether a lightweight web application could bring some of these coordination activities together.

That idea became RELAY.

RELAY is a demonstration prototype designed around incident management, community announcements, resource management, request matching, QR code exchange, and offline access.

It is not intended to replace official emergency services.

Why I chose Kiro

I wanted to approach development with a clearer structure rather than simply adding features one by one.

Kiro's spec-driven development workflow gave me a way to organize the project before and during implementation.

I used three main specifications:

  • Requirements: To define what the application should do and how its features should behave.
  • Design: To document the architecture, components, and technical approach.
  • Tasks: To break the implementation into smaller development steps.

I also used Kiro steering files to establish project-wide guidance:

  • product.md describes the product direction.
  • structure.md documents the project organization.
  • tech.md records the technology stack and development conventions.

These documents helped me maintain a clearer direction as the application grew.

Building the application

RELAY was developed using HTML, CSS, and JavaScript.

I used IndexedDB for local data storage and service workers to support application caching and offline access.

The application includes several main areas.

1. Dashboard

The dashboard provides an overview of incidents, available resources, and requests, helping users understand the current demonstration data at a glance.

2. Incident management

Users can record and manage incidents with relevant information such as category, location, and severity.

3. Announcements

A central area allows important community updates and notices to be organized.

4. Resource management

Resources can be registered and tracked, making it easier to understand what support is available.

5. Request matching

One of the features I particularly wanted to explore was matching requests with available resources.

RELAY evaluates factors such as resource type, quantity, location, and urgency to calculate matching scores.

This provides a structured way to identify potentially suitable resources.

6. QR Exchange

RELAY includes QR code generation and scanning to support the exchange of structured incident and resource information.

7. Offline support

Connectivity can become unreliable during emergencies, so offline functionality was an important part of the project.

Using IndexedDB and service-worker caching, RELAY can continue to provide access to its cached application and locally stored information when the network is unavailable.

Challenges and lessons learned

One of the main challenges was making the application work beyond a simple online demonstration.

Managing related incidents, requests, and resources required careful attention to data consistency. Matching logic also needed to consider multiple factors rather than relying on a single condition.

Offline support introduced another set of challenges. I had to understand how browser storage, caching, and service workers work together.

Throughout development, Kiro's specifications and structured tasks helped me break larger problems into smaller pieces.

The experience also taught me the importance of testing individual features and checking how they work together.

What I would improve next

RELAY is currently a local-first demonstration prototype. Each browser maintains its own locally stored information.

Future development could include:

  • Secure synchronization between multiple users.
  • Authentication and role-based access.
  • Integration with verified emergency response organizations.
  • More advanced resource allocation and coordination tools.
  • Additional accessibility and usability improvements.

These improvements would be important before considering real-world operational use.

Final thoughts

Building RELAY for Kiroween 2026 has been a valuable learning experience.

More importantly, it gave me an opportunity to explore a structured development workflow with Kiro and see how specifications, design decisions, and implementation tasks can work together.

For me, the biggest takeaway is that building an application becomes much more manageable when the problem is clearly defined and the work is organized into meaningful steps.

Project: RELAY - Emergency Coordination

Built with: Kiro, HTML, CSS, JavaScript, IndexedDB, Service Workers, and QR code libraries.

GitHub: https://github.com/nimeshmarasinghe/RELAY-Emergency-Coordination

Live Demo: https://illustrious-lebkuchen-624d9f.netlify.app/public/

RELAY is a demonstration prototype and does not replace official emergency services.