-
Notifications
You must be signed in to change notification settings - Fork 0
Home
StateForce is a state-level emergency resource management platform. It empowers public agencies to monitor, analyze, and optimize the availability and distribution of resources such as ambulances, rescue units, fire brigades, and hospital capacity in real time. Originally designed for the Centro Regulador de Urgencias MΓ©dicas (CRUM), it provides tools for improving responsiveness and coordination during emergency situations.
StateForce aims to:
-
Enhance operational efficiency by optimizing the allocation and utilization of emergency response resources.
Example: Reduce emergency response times by up to 20% through better resource management. -
Provide real-time visibility of resource status and location via an intuitive dashboard.
Example: Enable public agencies to track ambulances and rescue units with real state updates. -
Support strategic planning and operational decision-making with actionable insights derived from historical data and analytics.
Example: Predict resource demand patterns based on usage trends. -
Adapt to diverse operational needs by allowing customization for different regions or types of emergency services.
Example: Configure the system for use in urban areas or rural emergency networks.
-
β Included:
- Registration and real-time tracking of emergency assets such as ambulances, rescue units, and hospital capacity.
- Live monitoring dashboard and operational status views.
- Resource utilization reporting and historical data export.
- Role-based access control for user management.
-
β Excluded:
- Dispatch or intervention in emergency operations, as this is handled by separate systems.
- Real-time communication with field units (e.g., radio or messaging systems).
- Integration with third-party platforms beyond the defined APIs.
Note: The exclusions ensure that StateForce remains focused on resource management rather than duplicating functionalities of other specialized systems.
- Secure user authentication with email and Google OAuth integration.
- Role-based access control (e.g., admin, guest).
- Interactive dashboard for real-time monitoring and reporting.
- Monthly summaries and performance analytics for decision-making.
- Horizontal scalability to handle multiple states and thousands of assets simultaneously.
- Real-time performance with sub-second latency for critical data updates.
- Data security compliant with privacy laws and regulatory standards.
- Customizable configurations to adapt to varying regional or organizational needs.
- Framework: Ruby on Rails (API + Views).
- Database: PostgreSQL for reliable relational data management.
- Real-time: Hotwire (Turbo + Stimulus) and Redis for instant updates.
- Authentication: Devise with OmniAuth (Google OAuth).
- Deployment: Heroku for cloud scalability and ease of management.
For a detailed architectural overview, visit Architecture Diagram

Explore the complete schema and relationships here:
π Database Wiki Page
- Follow Ruby Style Guide to maintain code quality and consistency.
- Write clear, descriptive commit messages for every change.
- Always include unit and integration tests for new features and critical fixes.
- Keep pull requests small, focused, and accompanied by detailed documentation.
We are always looking for feedback and contributions to improve StateForce. Feel free to open issues, suggest edits, or submit pull requests to the repository.
- Repo: StateForce GitHub
- Contact: martinmendozadev@gmail.com
If you encounter issues or need assistance, please reach out via:
- Email: martinmendozadev@gmail.com
- GitHub Issues: Submit an Issue
This documentation and the StateForce platform are licensed under the Apache License 2.0.
Thank you for using StateForce! π¨
Together, we are improving emergency response operations in real-time.
Welcome to the StateForce Wiki! Use this sidebar to navigate through the documentation.
This sidebar provides quick access to all the documentation pages. For detailed information, click on the desired section.