Skip to content

Tanmay-codeol/Social_Dapp_backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Social Dapp

i have implemented these functions in the backend of the social media decentralized apps , i have tried to keep the name same as what the function is doing in the backend

create account
update name
update bio
update profile picture
follow
unfollow
post
comment
like
unlike
get_global_timeline
get_following_timeline
get_account_posts
get_account_comments
get_account_liked_posts
get_account_liked_comments
get_account_followers
get_account_followings
get_post
init_module_test_success
create_account_test_success_create_one_account
create_account_test_failure_username_too_short
create_account_test_failure_username_too_long
create_account_test_failure_profile_pic_invalid_length
create_account_test_failure_name_invalid_length
create_account_test_success_create_two_accounts
create_account_test_success_create_many_accounts
update_name_test_success_update_name_once
update_name_test_failure_account_does_not_owner_username
update_name_test_failure_username_not_registered
update_bio_test_success_update_bio_once
update_bio_test_success_update_bio_many_times
update_profile_picture_test_picture_update_once
post_test_success_one_post
post_test_success_many_posts
comment_test_success_one_comment_on_self_post
comment_test_success_multiple_comments_on_other_post
like_test_success_one_like_on_self_post
like_test_success_multiple_likes_on_other_post
like_test_success_one_like_on_self_comment
like_test_success_one_like_on_other_comment
like_test_success_multiple_likes_on_other_comment
unlike_test_success_one_unlike_on_self_post
unlike_test_success_one_unlike_on_other_post
unlike_test_success_multiple_unlikes_on_other_post
unlike_test_success_multiple_unlikes_on_other_comment
follow_test_success_follow_one_account
follow_test_success_follow_multiple_accounts
follow_test_failure_follower_does_not_exist
follow_test_failure_account_does_not_username
follow_test_failure_self_follow
follow_test_failure_double_follow
create_account_test_success_follow_multiple_accounts
unfollow_test_success_unfollow_one_account
unfollow_test_success_unfollow_multiple_accounts
create_account_test_failure_username_already_registered
create_account_test_failure_follow_username_does_not_exist
create_account_test_failure_follow_username_duplicate
update_bio_test_failure_bio_to_long
update_bio_test_failure_username_is_not_registered
update_bio_test_failure_account_does_not_own_username
update_profile_picture_test_failure_username_is_not_registered
update_profile_picture_test_failure_account_does_not_own_username
follower_test_failure_follower_username_is_not_registered
follower_test_failure_account_does_own_follower_username
follower_test_failure_follow_twice
unfollow_failure_username_to_follow_is_not_registered
unfollow_failure_follower_username_is_not_registered
unfollow_failure_account_does_own_follower_username
unfollow_failure_same_usernames
unfollow_failure_follow_twice
post_test_failure_username_is_not_registered
post_test_failure_account_does_not_own_username
post_test_failure_too_long
comment_test_failure_author_username_is_not_registered
comment_test_failure_commenter_username_is_not_registered
comment_test_failure_account_does_not_own_username
comment_test_failure_publication_does_not_exist_1
comment_test_failure_publication_does_not_exist_2
like_test_failure_invalid_publication_type_1
like_test_failure_author_username_is_not_registered
like_test_failure_liker_username_is_not_registered
like_test_failure_account_does_not_own_username
like_test_failure_publication_does_not_exist
unlike_test_failure_invalid_publication_type_1
unlike_test_failure_invalid_publication_type_2
unlike_test_failure_author_username_is_not_registered
unlike_test_failure_liker_username_is_not_registered
unlike_test_failure_account_does_not_own_username
unlike_test_failure_publication_does_not_exist
unlike_test_failure_not_liked
unlike_test_failure_already_unliked
get_global_timeline_test_empty_timeline
get_global_timeline_test_partial_first_page
get_global_timeline_test_full_first_page
get_global_timeline_test_full_second_page
get_global_timeline_test_partial_third_page
get_global_timeline_test_empty_fourth_page
get_following_timeline_test_no_registered_username
get_following_timeline_test_empty_timeline
get_following_timeline_test_partial_first_page
get_following_timeline_test_full_first_page
get_following_timeline_test_full_second_page
get_following_timeline_test_partial_third_page
get_following_timeline_test_empty_fourth_page
get_account_posts_test_no_registered_account
get_account_posts_test_empty_first_page
get_account_posts_test_partial_first_page
get_account_posts_test_full_first_page
get_account_posts_test_full_second_page
get_account_posts_test_partial_third_page
get_account_posts_test_partial_fourth_page
get_account_followers_test_not_registered_username
get_account_followers_test_no_followers
get_account_followers_test_partial_first_page
get_account_followers_test_full_first_page
get_account_followers_test_partial_third_page
get_account_followings_test_not_registered_username
get_account_followings_test_no_followers
get_account_followings_test_partial_first_page
get_account_followings_test_full_first_page
get_account_followings_test_partial_third_page
get_account_comments_test_no_registered_account
get_account_comments_tests_empty_first_page
get_account_comments_tests_partial_first_page
get_account_comments_tests_full_second_page
get_account_comments_tests_partial_third_page
get_account_liked_posts_tests_username_not_registered
get_account_liked_posts_tests_no_liked_posts
get_account_liked_posts_tests_partial_first_page
get_account_liked_posts_tests_full_first_page
get_account_liked_posts_tests_empty_third_page
get_account_liked_comments_tests_username_not_registered
get_account_liked_comments_tests_no_liked_comments
get_account_liked_comments_tests_full_first_page
get_account_liked_comments_tests_partial_first_page
get_post_test_no_registered_username
get_post_test_post_does_not_exist
get_post_test_post

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages