How software-engineering-group-3/crisis-guard works
Main Components Identification
a) Frontend Layer:
• React-based web application
• OpenStreetMap integration
• OAuth authentication component
• User interface components (Login, Reports, Maps)
b) Backend Layer:
• Spring Boot application
• Security configuration
• Controllers (Login, Place, Report)
• Repository layer
• Model entities (Place, Report, Severity)
c) External Services:
• Firebase Cloud Messaging (for push notifications)
• OAuth provider
• OpenStreetMap services
• Email service (for alerts)
d) Database:
• PostgreSQL database
Connection and Data Flow
a) Client-Side Flow:
• User → Frontend (HTTP/HTTPS)
• Frontend → OAuth (Authentication flow)
• Frontend → OpenStreetMap (Map data)
b) Server-Side Flow:
• Frontend → Backend (REST API calls)
• Backend → Database (CRUD operations)
• Backend → Firebase (Push notifications)
• Backend → Email Service (Alert notifications)
Detailed Components
a) Frontend Components:
• Login component
• Interface
• Report submission
• Notification handling
b) Backend Components:
• Security layer (SecurityConfig)
• Controllers layer
• Repository layer
• Model layer
Additional Elements
Important aspects:
• Load balancers (if applicable)
• API endpoints
• Database tables/relationships
• Caching mechanisms (if implemented)
Technical Details
• Spring Boot version
• React version
• Database version
• Protocol specifications (REST, WebSocket)
• Authentication flow
• External API integration points
Deployment Information
Deployment-specific details:
• Microsoft Azure hosting
• Heroku deployment endpoints
• Environment-specific configurations