Danger Alert WebApp is a real-time emergency alert system built using the Angular framework and integrated with an ASP.NET Core Web API. It helps users send alert signals in emergency situations such as fire emergencies, medical emergencies, accidents, or criminal activities. The application tracks user locations and displays the nearest available helpers using Leaflet maps. It also pushes real-time notifications to nearby service providers and allows users to add custom alerts and emergency contacts.
-
User Authentication & Security
- Secure user registration and login.
- Password hashing and session management.
- Role-based access control.
-
Emergency Alert System
- Send instant alerts in various danger situations.
- Track user location and notify the nearest available helper.
- Display nearest helpers using Leaflet map integration.
-
Real-Time Notifications
- Push notifications to the nearest service provider.
- Instant updates on alert status.
-
Custom Alerts & Emergency Contacts
- Users can create custom alert categories.
- Add custom emergency contacts for quick assistance.
-
Database Integration
- PostgreSQL database for secure data storage.
- Tracks user alerts, locations, and responses.
-
Security Measures
- CSRF protection and encrypted communication.
- Authentication and authorization using JWT tokens.
- Frontend: Angular
- Backend: ASP.NET Core Web API
- Database: PostgreSQL
- Map Integration: Leaflet.js
- Authentication: JWT (JSON Web Token)
- Real-Time Communication: SignalR
- Clone the Angular repository
git clone https://github.com/ragnar-harsh/Danger-Alert-Web-App.git cd Danger-Alert-Web-App - Install dependencies
npm install
- Run the application
Access the application at
ng serve
http://localhost:4200/.
- Clone the API repository
git clone https://github.com/ragnar-harsh/Danger-Alert-Web-API.git cd Danger-Alert-Web-API - Restore dependencies
dotnet restore
- Update database (Ensure PostgreSQL is configured)
dotnet ef database update
- Run the API server
API available at
dotnet run
http://localhost:5000/.
- Register or log in to access the platform.
- Choose the type of emergency alert and send signals.
- The system tracks location and notifies nearby helpers and service providers.
- Users can add emergency contacts and custom alert categories.
- Real-time updates on alerts through push notifications.
Contributions are welcome! Feel free to submit issues or pull requests to improve the project.
This project is licensed under the MIT License.
Made with ❤️ using Angular & ASP.NET Core.