POST /createNewUser/{username}
Creates a user with a specific username
GET /getFollowers/{username}
Returns a list of followers of a given user
GET /getFollowing/{username}
Returns a list of users the given user is following
PATCH /follow -d '{ "username": <following-user>, "target": <target-user> }'
Follows the target-user as the following-user
{
"username": "deanfoley",
"target": "domgreen",
}
"User deanfoley is now following domgreen!"
PATCH /unfollow -d '{ "username": <following-user>, "target": <target-user> }'
Unfollows the target-user as the following-user
{
"username": "deanfoley",
"target": "domgreen",
}
"User deanfoley is no longer following domgreen!"