{"id":21335015,"url":"https://github.com/hs831/socialflix","last_synced_at":"2026-04-08T22:31:32.336Z","repository":{"id":134618902,"uuid":"494101795","full_name":"HS831/socialflix","owner":"HS831","description":"A backend project which have different APIs for a social media website like Facebook, Instagram, etc..","archived":false,"fork":false,"pushed_at":"2023-04-09T14:34:21.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T01:42:11.323Z","etag":null,"topics":["expressjs","jwt-authentication","mongodb","mongoose","nodejs","rest-api"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HS831.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-19T14:17:08.000Z","updated_at":"2022-05-19T18:46:14.000Z","dependencies_parsed_at":"2025-01-22T14:40:53.024Z","dependency_job_id":null,"html_url":"https://github.com/HS831/socialflix","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HS831/socialflix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HS831%2Fsocialflix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HS831%2Fsocialflix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HS831%2Fsocialflix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HS831%2Fsocialflix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HS831","download_url":"https://codeload.github.com/HS831/socialflix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HS831%2Fsocialflix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31577444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["expressjs","jwt-authentication","mongodb","mongoose","nodejs","rest-api"],"created_at":"2024-11-21T23:37:27.900Z","updated_at":"2026-04-08T22:31:32.317Z","avatar_url":"https://github.com/HS831.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SocialFlix\n## The APIs you need for any kind of social media websites.\n\nSocialFlix is a backend ready API project built with Node.js, Express.js which supports all the required APIs that is nedded for a social media website.\n\n## APIs List : \n\n- POST api/users/authenticate: Log In\n- POST /api/users/follow/{id} : authenticated user would follow user with {id}\n- POST /api/users/unfollow/{id} : authenticated user would unfollow a user with {id}\n- GET /api/user : authenticate the given user and return the respective user profile.\n- POST api/posts/ : would add a new post created by the authenticated user.\n- DELETE api/posts/{id} : would delete post with {id} created by the authenticated user.\n- POST /api/like/{id} : would like the post with {id} by the authenticated user.\n- POST /api/unlike/{id} :  would unlike the post with {id} by the authenticated user.\n- POST /api/comment/{id} : add comment for post with {id} by the authenticated user.\n- GET api/posts/{id} would return a single post with {id} populated with its number of likes and comments.\n- GET /api/all_posts : would return all posts created by authenticated user sorted by post time.\n\n## Tech\n\nSocialFLix uses a number of Libraries to work properly:\n\n- Node.js\n- Express.js\n- mongoose\n- For Database : MongoDB\n- For authentication : jsonwebtoken\n- And many more..\n\n## Installation\n\nSocialFLix requires [Node.js](https://nodejs.org/) v10+ to run.\n\n### Steps to run this project : \n\n```sh\nStep 1 : Clone this Repo \nStep 2 : Open your bash shell and run code git clone {git clone url}\nStep 3 : Install the dependencies and devDependencies and start the server.\n\nStep 4 : \n\ncd socialflix\nnpm i\nnpm run dev : For development enviorments\n```\nThe local server will start at 127.0.0.1:3000/\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhs831%2Fsocialflix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhs831%2Fsocialflix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhs831%2Fsocialflix/lists"}