I want a simple CakePHP 2.0 based friendship system. Whereby a user can become friends with another user in the app.
It needs the following functionality:
User can request another user as a friend (needs to handle if logged in, if already friends)
Users can see a list of friend requests
Request can be accepted or declined by the other user
User can see who is friends with them in three ways:
1.) Viewing friends on for a user e.g. /people/username/friends
2.) Viewing friends using their logged in id e.g. /people/friends
3.) When viewing profiles or a list of profiles then it should show a message next to their name like ('friend')
So far I have created the tables, controllers, models and views. It all just needs hooking up.
Also this system will allow users to find friends using Facebook and Twitter so the system needs to allow for this and not be too robust.
This should be a rather quick job (max 1 hour) as most of the work is already done.