-
Notifications
You must be signed in to change notification settings - Fork 0
Home
StateForce is a platform designed to help Mexican states manage and optimize their emergency resources, such as ambulances, rescue trucks, firefighters, and hospital occupancy. The system aims to enhance decision-making and resource distribution during critical situations.
- Improve the efficiency of emergency resource management.
- Provide real-time information on resource availability and location.
- Facilitate planning and operational analysis.
-
Included:
- Registration and tracking of emergency resources.
- Real-time monitoring dashboard.
- Report generation.
-
Excluded:
- Direct control of operations or dispatch.
- User authentication and role-based access (via email and Google login).
- Administrative dashboard for resource monitoring.
- API integration for geolocation and maps.
- Monthly resource usage reporting.
- Scalability to support multiple states and thousands of resources.
- Real-time response for critical queries (<1 second).
- Data security and privacy compliance.
- Backend: Ruby on Rails
- Database: PostgreSQL
- Frontend: (IDK)
- APIs: (IDK)
(User Flow)
(Diagram)
- Users: Handles authentication and roles.
- Resources: Stores information on emergency resources.
- Incidents: Logs incidents and resource usage.
- Reports: Tracks historical data and analytics.
- Phase 1: Initial setup, authentication, and user management.
- Phase 2: Resource registration and real-time monitoring.
- Phase 3: Integration with geolocation and maps.
- Phase 4: Reporting and data analysis.
- Set up Devise for email and Google authentication.
- Design initial database schema.
- Develop API for resource registration and queries.
- Administrator Monitoring: View available ambulances in a specific area.
- Incident Reporting: Log and track the resources deployed to a rescue mission.
- Report Generation: Generate a monthly report on resource usage.
- Clone the repository:
git clone <repo-url> - Install dependencies:
bundle install - Set up the database:
rails db:setup
- Follow Ruby style guide conventions.
- Use meaningful commit messages.
- Write tests for new features.
- Regularly update dependencies.
- Run tests before deploying new features.
- Monitor application performance using tools like New Relic or Skylight.
- Schedule daily database backups.
- Store backups securely in cloud storage.
- Lucidchart: For architecture and database diagrams.
- dbdiagram.io: For database schema.
- GitHub Projects: Organize tasks using Kanban boards.
- Trello or Notion: For detailed planning.
- GitHub Wiki: Structure and store all project documentation.
-
Markdown Files: Use
.mdfiles for quick guides and README updates.
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.