Frontend

This directory contains the client-side code for the Osun State Flood Alert System.

Structure

  • index.html - Main HTML template
  • index.js - JavaScript for the application

Features

  • User authentication (signup and login)
  • Location management with map interface
  • Flood alerts display
  • Manual flood checking

Technologies

  • HTML, JavaScript
  • Tailwind CSS for styling
  • Leaflet.js for maps
  • Font Awesome for icons

User Flow

  1. User signs up or logs in
  2. User adds locations within Osun State using the map
  3. User can check for potential floods manually
  4. Alerts are displayed if flooding is predicted