Build a message board to allow users to post information and reply to other people's posts. All the forums and posts should be stored in a database.
The system should include the data for at least 5 valid forum topics and each forum must contain at least 3 posts containing sensible comments posted from from valid user accounts (see below).
You are required to create the following accounts to allow the system to be tested. All accounts should have the password p455w0rd
:
user1
user2
user3
The core functionality consists of three screens:
The homepage should list all the forums. This should display the following information on each:
- The name of the forum
- A thumbnail of the icon that represents the forum
- A short, multiline description of the forum
- A link or button to view the forum
- The date of the last post in the forum
There should be a link or button on this page to allow a user
to add a new forum topic. This should include:
- The name of the forum
- A detailed, formatted, multiline description of the purpose of the forum
- An avatar image uploaded from the
user
's computer.
When the user selects one of the forums they should be taken to the forum page which displays:
- The forum details including the name, descriptions and avatar thumbnail
- All the posts to the forum with each including:
- the details of the
user
who added each comment. - the date and time of the post.
- the detailed, formatted multiline comment. They should be ordered with the oldest at the top and the latest at the bottom
- the details of the
- A multiline input box to allow users to post additional comments.
The intermediate tasks require you to make changes to the functionality:
- There should be a
user
profile page where they can update their profile details to include:- A first and last name
- A profile avatar (picture)
- A detailed, formatted, multiline bio
- Each forum post should include:
- The
user
's name and a thumbnail avatar. Clicking on the avatar should take the user to a page with the profile details of theuser
posting together with the last 5 forums they posted to with each linking to each of these - The date the
user
joined the forum site
- The
users
should be able to bookmark (and un-bookmark) a forum, which means:- They get a html-formatted email when anyone posts which includes the message added and a link to the forum
- The bookmarked forums appear at the top of the list on the homepage
users
can add forum categories and add forums into these. Any user can create a forum in any category (even one added by a different user).- The forum category should indicate how many unread forum posts there are in each forum category.
- Within the forum category each forum should also indicate how many unread posts it contains.
- When a
user
views a forum this unread post count for that specific forum should be reset to zero.
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 selecting an avatar image, the user should be given the option of using the device camera (if available).
- Each forum post should be flagged with the location of the person posting (country and region only).
- In each forum there should be a map showing the locations where users have posted. Clicking a pin should show their name, avatar and the first part of the message. Selecting this should display the entire message.
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: