A local council wants to build a community hub to allow local residents to both raise issues and proactively help to solve them.
The system should include the data for at least 10 valid issues.
You are required to create the following accounts to allow the system to be tested. All accounts should have the password p455w0rd
:
user1
user2
council
The core functionality consists of three screens.
The home screen should be viewable whether a user
is logged in or not and should display all the issues that have been flagged by all the users
, this should include:
- A brief title
- The location of the issue
- The status of the issue, one of the following:
- new
- verified
- resolved
if a user
is logged in they should see a link or button on the home screen to allow them to add a new issue, this should include:
- The brief title.
- The location of the issue (provided as a valid postcode).
- A detailed, multi-line, formatted description.
- An optional photo uploaded from their computer.
If a logged-in user
selects one of the issues on the home screen they should be taken to an issues detail screen that should display:
- The information provided by the
user
raising the issue (see last point) - A resolve link or button that allows a user to take charge of resolving the issue and this should update the issue status displayed on the home screen. This link or button should not be visible to the
user
who raised the issue. - If a
user
has clicked on the resolve link or button, theuser
who raised the issue should see a resolved link or button so they can confirm the issue has been resolved. This should update the issue status displayed on the home screen.
The intermediate tasks require you to make changes to the functionality:
- A verify button that allows a user to verify that this is a valid issue (the button should be hidden from the user who initially posted the issue)
- The local
council
would like to use this app to allow them to prioritise the work the repair teams are scheduled to do:- There should be way for users to be identified as
council
workers to be able to log in and see a list of the jobs in order of distance from their current location. - Any jobs fixed by this team should be flagged as resolved by the
council
.
- There should be way for users to be identified as
- Some of the users will engage with the system. To encourage this you will be implementing gamification elements:
- Each time a
user
reports or verify an issue they get 10 points. - Each time an issue is resolved as fixed by the original
user
, they gets 20 points and theuser
who fixed the issue gets 50 points. - The home page should display the top 10
users
with the highest scorer at the top.
- Each time a
- Each time an issue is fixed, an email should be sent to the
user
who raised the issue, this should include:- The issue name, description and photo.
- A link to the details page.
- A button to click to resolve the issue.
In some assignment briefs you are given marks for the appropriate use of media and using sensors built into the user's device.
In some assignment briefs you are given marks for the appropriate use of sensors and sensor data. You should be implementing:
- When an issue is added, instead of the location being added manually this should be based on the user's current location.
- When the user is prompted to upload a photo they should be given the option of using the device camera (if available).
- The home screen should display a map showing the locations of all the unresolved issues:
- Clicking on a pin should show a summary bubble showing the brief title and the person who flagged it.
- Clicking on this should send the viewer to the issues detail screen.
In the requirements listed above you need to provide the user with the ability to upload photos. For the extra media marks you will need to expand this by:
- Providing the user with the choice of uploading photos, video clips or audio clips.
- Giving users the option to directly capture images, audio and video clips using the built-in camera and/or microphone if available.
There are lots of online RESTful APIs you can make use of when developing this system. You should consider: