mirasoldavila13 / NeighborhoodAid

NeighborhoodAid is an interactive platform designed to empower communities by enabling users to report local issues like potholes, vandalism, and streetlight outages.
MIT License
0 stars 0 forks source link

View Reported Issues #4

Closed mirasoldavila13 closed 1 month ago

mirasoldavila13 commented 1 month ago

User Story:

AS A a user or authority I WANT TO view all reported issue. SO THAT I can monitor the issues and their statuses

Acceptance Criteria:

  1. The user can see a list of all issues, with details such description, location, likes and status.
  2. The issues should be filterable by status (reported, in progress, resolved).
  3. The user should be able to see the data and weather data for each issue.

Tasks:

mirasoldavila13 commented 1 month ago

Completed:

mirasoldavila13 commented 1 month ago

Update on User Story: View All Reported Issues (v2.0)

Completed:

  1. User Interface Development:

    • Created a dedicated page for users to view all reported issues.
    • Implemented a layout that displays essential details such as description, location, likes, and status (e.g., reported, in progress, resolved).
    • Applied TailwindCSS for a clean and responsive design.
  2. Filtering Functionality:

    • Implemented filters that allow users to view issues based on their status (reported, in progress, resolved).
    • Ensured the filtering functionality works correctly, displaying the appropriate issues based on the selected status.
  3. API Integration:

    • Developed a RESTful API route to retrieve all reported issues from the backend.
    • Integrated Axios for seamless data fetching and interaction with the backend.
  4. Weather Data Display:

    • Each reported issue now includes associated weather data (temperature, wind speed, condition) for the reported location, utilizing the OpenWeather API.
  5. Database Migrations:

    • Created necessary migrations for the Issues model, including fields for description, location, and status.
    • Integrated PostGIS for storing latitude and longitude data.
    • Completed migrations for feed, comments, and issues tables.

Additional Notes: